command | Description |
---|---|
branch | checkout a branchm. If it doesn't exist, it will be created |
clean | remove all files that are not tracked by git with prompt |
fetch | fetch all changes from the remote |
git-rename-remote-branch | rename the remote branch |
merge | a better merge tool than git merge |
new | creates a new folder and does git init in it |
pull | stashes not committed or saves changes, the the pull and applies the stash |
push | Send your local branch changes to the remote branch |
recent | shows recent activities |
stash | stash all changes and not tracked files |
short cut | Description |
---|---|
ff |
git pull --ff-only $* |
ga |
git add |
gbr |
git branch |
gcfg |
git config --list |
gcl |
git clone --recurse-submodules |
gcma |
git cma |
gcmap |
git cmap |
gco |
git checkout |
gd |
git diff |
gdiff |
git diff |
ggc |
git gc |
gh |
cd "$(git rev-parse --show-toplevel)" |
gi |
git init |
gib |
git init --bare |
gl |
git lg |
glc |
git last commit git diff @~..@ |
gm |
git checkout master |
gp |
git pull |
gpn |
git pull --no-ff |
gpo |
git push origin |
gr |
git remote -v |
gst |
git status -sb |
gsu |
git submodule update --recursive --remote |
See git aliases