Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.13 KB

README.md

File metadata and controls

51 lines (41 loc) · 1.13 KB

git-aliases

Commonly used git aliases. Fork to add more!

This project uses inclusive language. Therefore the main branch is used with a fallback to master.

Installation

$ source aliases.sh

Aliases

Alias Command
gs git status
gd git diff
gdc git diff --cached
gl git log
gpom git pull origin main
gpos git pull origin staging
gpoc git pull origin canary
gpod git pull origin dev
gpum git pull upstream main
gf git fetch
gp git push
gpuo git push -u origin
ga git add .
gm git commit -m
gam git add . && git commit -m
gb git branch
gco git checkout
gcom git checkout main
gcoc git checkout canary
gcod git checkout dev
gcob git checkout -b
gc git clone
gr git rebase
grm git rebase main
grc git rebase --continue
grs git rebase --skip
gcp git cherry-pick
gmm git merge main

License

MIT