Skip to content

Instantly share code, notes, and snippets.

@ceessay
Last active December 1, 2018 10:27
Show Gist options
  • Save ceessay/0251b5df201e14c6e9f7b5a3908ec593 to your computer and use it in GitHub Desktop.
Save ceessay/0251b5df201e14c6e9f7b5a3908ec593 to your computer and use it in GitHub Desktop.
;= Add aliases below into the "C:\tools\cmder\config\user-aliases.cmd" file
g=git
ga=git add
gst=git status
glog=git log
gaa=git add --all
gapa=git add --patch
gau=git add --update
gav=git add --verbose
gl=git pull
gp=git push
gap=git apply
gb=git branch
gba=git branch -a
gbd=git branch -d
gbD=git branch -D
gbl=git blame -b -w
gbnm=git branch --no-merged
gbr=git branch --remote
gbs=git bisect
gbsb=git bisect bad
gbsg=git bisect good
gbsr=git bisect reset
gbss=git bisect start
gc=git commit -v
gc!=git commit -v --amend
gcn!=git commit -v --no-edit --amend
gca=git commit -v -a
gca!=git commit -v -a --amend
gcan!=git commit -v -a --no-edit --amend
gcans!=git commit -v -a -s --no-edit --amend
gcam=git commit -a -m
gcsm=git commit -s -m
gcb=git checkout -b
gcf=git config --list
gcl=git clone --recurse-submodules
gclean=git clean -fd
gpristine=git reset --hard && git clean -dfx
gcm=git checkout master
gcd=git checkout develop
gcmsg=git commit -m
gco=git checkout
gcount=git shortlog -sn
gcp=git cherry-pick
gcpa=git cherry-pick --abort
gcpc=git cherry-pick --continue
gcs=git commit -S
gd=git diff
gdca=git diff --cached
gdcw=git diff --cached --word-diff
gds=git diff --staged
gdt=git diff-tree --no-commit-id --name-only -r
gdw=git diff --word-diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment