Skip to content

git-dct

Release Python Downloads License
Build Bugs Code Smells Coverage Lines of Code Quality Gate Status
pre-commit Commitizen friendly gcil pre-commit-crocodile

Git development CLI tools for daily usage


git add - Add file changes for commits

  • git aa : Add files verbosely

  • git an : Add files as dry-run only

  • git ap : Add files in interactive patch mode

  • git acae : Add files in interactive patch mode and amend to the current commit


git branch - List, create, or delete branches

  • git bd : Delete branch

  • git br : List, create, or delete branches

  • git brl : List all available branches

  • git ch : Switch branches or restore working tree files

  • git sw : Create, update and switch to a branch


git cherry-pick - Apply changes introduced by existing commits

  • git cp : Apply the changes introduced by existing commits

  • git cpa : Abort the cherry-pick operation in progress

  • git cpc : Continue the cherry-pick operation in progress

  • git cps : Skip the cherry-pick operation in progress

  • git fcp : Git fetch path and cherry-pick commits

git commit - Commit changes to the repository

  • git c : Commit changes to the repository

  • git ca : Amend changes to the current commit

  • git cae : Amend changes to the current commit without edition

  • git cauthor : Update commit authorship from current user or a commit

  • git ce : Commit empty changes to the repository

  • git cs : Commit changes to the repository with 'Signed-off-by'

  • git cad : Reset current commit date to now

  • git sl : Amend the last commit with interactively staged changes

  • git wip : Commit changes as 'wip' (Work in Progress)

  • git in : Execute Git commands under a given path


git dct - Git development CLI tools for daily usage

  • git foreach : Execute commands in each Git repositories under current path

git describe - Describe Git objects for humans

  • git tagdescribe : Describe Git history relative to tags

git diff - Show changes between commits and sources

  • git diffall : Show changes between commits and sources with all differences highlighted

  • git diffc : Show changes between commits and sources with only char-level differences

  • git diffw : Show changes between commits and sources with only word-level differences

  • git ds : Show differences including submodules commits

  • git dsd : Show differences including submodules changes

  • git st : Git history with remote comparator

  • git stat : Git history with remote comparator

  • git di : Show changes in sources with HEAD (or a commit)


git fetch - Download references and objects from remotes

  • git f : Download references and objects from remotes

  • git fe : Git fetch with interactive selection

  • git fr : Git fetch and reset sources with interactive selection

  • git ftr : Git fetch with tags and reset sources with interactive selection

git interfaces - Alternative textual or graphical interfaces

  • git d : Dashboard panel of Git paths with interactive selection

  • git dashboard-panel : Dashboard panel of Git paths with interactive selection

  • git dc : Dashboard panel of current folder Git paths

  • git dcwd : Add current working path to dashboard configuration

  • git dd : Dashboard panel of Git paths having uncommitted differences

  • git dp : Dashboard panel of configured paths presets

  • git dt : Dashboard panel of current folder Git paths to split tabs

  • git k : Fetch all branches and show complete history in gitk

  • git tig : Fetch all branches and show complete history in tig


git log - Show commit logs

  • git l : Show commits logs in oneline simple view without decorators

  • git lo : Show commits logs in oneline simple view

  • git loall : Show commits logs graph in oneline simple view


git merge - Merge development histories together

  • git mt : Run merge conflicts resolution tools

git push - Push references and objects to remotes

  • git p : Push references and objects to remotes

  • git pf : Force push references and objects to remotes

  • git pu : Git push with interactive selection

  • git puall : Git push to all remotes and branches

  • git put : Git push tags with interactive selection


git rebase - Reapply and rework commits history

  • git ra : Abort current rebase operation and reset HEAD to the original state

  • git rall : Interactive rebase of all commits since history root

  • git rb : Git rebase with interactive selection

  • git rbl : Git rebase local commits with interactive selection

  • git rc : Continue the rebasing process after merge conflict resolutions or commit amends

  • git re : Edit the todo list during an interactive rebase

  • git rs : Skip the current patch during a rebasing process

  • git r : Interactive rebase of the last N commits (default 5)

  • git redit : Edit through rebase the last N commits (default 5)

  • git rf : Interactive rebase from commit reference

  • git rfedit : Edit through rebase from commit reference


git remote - Manage remote sources repositories

  • git rv : List the repositories remotes with their URL

git reset - Reset history or sources to a specific state

  • git rhf : Reset history and sources to the last fetched commit

  • git rhh : Reset history and sources to the current commit

  • git ri : Reset history only to the previous commit

  • git ro : Reset history and sources to the previous commit

  • git rt : Reset history and sources to a specific commit

  • git revertf : Revert changes of the specified commit (default: HEAD)

  • git rl : Revert the current commit interactively


git show - Show commit contents or other objects

  • git shall : Show commit with all differences highlighted

  • git shf : Show commit with full author, commiter and dates details

  • git shm : Show commit with only names and status of changed files

  • git shs : Show commit including submodules commits

git stash - Store or stash uncomitted changes away

  • git s : Stash the changes in a dirty working directory away

  • git sc : Remove all the stash entries

  • git sp : Interactively select hunks to be stashed

  • git spop : Extract last stash state to the current working tree

  • git cl : Reset and stash changes

  • git cla : Abort cherry-pick, abort am, reset and stash changes

  • git su : Stash changes including untracked files


git submodule - Initialize, update or inspect submodules

  • git sm : Show the status of the submodules

  • git smi : Initialize the submodules recorded in the sources

  • git smu : Synchronize, initialize and update submodules recursively

  • git clean-tags : Clean all tags automatically