(auto-commit target-dir message)(auto-commit target-dir message author-name author-email)Convenience function to add all files and commit with a message
Convenience function to add all files and commit with a message
(auto-commit-after-operation {:keys [target auto-commit git-init] :as app-conf})Perform auto-commit after a successful pull/push operation
Perform auto-commit after a successful pull/push operation
(ensure-git-repo target-dir)Initialize git repository if it doesn't exist. Returns the repo object.
Initialize git repository if it doesn't exist. Returns the repo object.
(generate-commit-message {:keys [action server commit-message] :as app-conf})Generate a commit message based on the operation and server
Generate a commit message based on the operation and server
(git-add-all target-dir)Add all files in the target directory to git staging
Add all files in the target directory to git staging
(git-branch target-dir)List git branches for the target directory
List git branches for the target directory
(git-checkout target-dir branch-name)Checkout a git branch for the target directory
Checkout a git branch for the target directory
(git-commit target-dir message)(git-commit target-dir message author-name author-email)Create a git commit with the specified message and optional author info. GPG signing is explicitly disabled to avoid password prompts in automated contexts.
Create a git commit with the specified message and optional author info. GPG signing is explicitly disabled to avoid password prompts in automated contexts.
(git-diff target-dir)(git-diff target-dir options)Show git diff for the target directory with various options:
Show git diff for the target directory with various options: - No arguments: shows working directory vs index (unstaged changes) - --staged: shows index vs HEAD (staged changes) - --cached: alias for --staged - revision-spec: shows diff for revisions (e.g., HEAD, branch1..branch2, commit^..HEAD)
(git-log target-dir)(git-log target-dir limit)Show git log for the target directory with optional limit
Show git log for the target directory with optional limit
(git-operation app-conf git-subcommand & args)Dispatch git operations based on subcommand and arguments
Dispatch git operations based on subcommand and arguments
(git-pull target-dir)Pull changes from a remote repository
Pull changes from a remote repository
(git-push target-dir)Push changes to a remote repository
Push changes to a remote repository
(git-remote target-dir)List git remotes for the target directory, similar to 'git remote -v'
List git remotes for the target directory, similar to 'git remote -v'
(git-reset target-dir)(git-reset target-dir options)Reset the current branch to a specific commit with various reset modes. Options:
Reset the current branch to a specific commit with various reset modes. Options: - :reset-type - One of :soft, :mixed (default), :hard - :ref - Target commit/branch reference (defaults to HEAD)
(git-status target-dir)Get git status for the target directory using JGit StatusCommand directly
Get git status for the target directory using JGit StatusCommand directly
(parse-revision-spec spec)Parse revision specification like 'HEAD', 'branch1..branch2', or 'commit1^..commit2'
Parse revision specification like 'HEAD', 'branch1..branch2', or 'commit1^..commit2'
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |