Skip to content

Instantly share code, notes, and snippets.

@ismaail
Last active November 15, 2019 18:33
Show Gist options
  • Save ismaail/3f87cfcf5105697ef6adef2c8055c895 to your computer and use it in GitHub Desktop.
Save ismaail/3f87cfcf5105697ef6adef2c8055c895 to your computer and use it in GitHub Desktop.
GIT
Alias Command
g git
ga git add
gb git branch
gba git branch -a
gbd git branch -d
gc git commit -v
gc! git commit -v --amend
gcb git checkout -b
gcm git checkout master
gcd git checkout develop
gcmsg git commit -m
gco git checkout
gd git diff
gdca git diff --cached
gdcw git diff --cached --word-diff
gf git fetch
gfo git fetch origin
gm git merge
gr git remote
gra git remote add
grb git rebase
grba git rebase --abort
grbc git rebase --continue
grev git revert
grh git reset
grhh git reset --hard
grm git rm
grmc git rm --cached
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment