Just copy .bashrc file content to same file in your existing home directory
- gs [params]
git status [params]
- gl [params]
git log --graph --date=short --pretty=format:"%h %ad | %s%d [%an]"
- glp
git status [params]
- go [params] branchName
git checkout [params] branchName
In branchName aliases is allowed:
- in - integration
- hf - hotfix
- c - issue_CENTER- prefix (digit must follow after 'c')
- d - issue_DEV- prefix (digit must follow after 'd')
- i_ - issue_ prefix
Examples:
- go [params] in
git checkout [params] integration
- go [params] hf
git checkout [params] hotfix
- go [params] c12345
git checkout [params] issue_CENTER-12345
- go [params] cfix432
git checkout [params] cfix432
(prefix don't work, no digit character after 'c')- go [params] d98765
git checkout [params] issue_DEV-98765
- go [params] dfix4321
git checkout [params] dfix4321
(prefix don't work, no digit character after 'd')- go [params] i_5678
git checkout [params] issue_5678
- go [params] i_TODO-9876
git checkout [params] issue_TODO-9876
- gc [params]
git commit -c ORIG_HEAD [params]
- gcl [params]
git clean [params]
- gm [params] branchName
git merge --no-ff [params] branchName
- gmn [params] branchName
git merge --no-ff --no-commit [params] branchName
- gmc [params]
git merge --continue [params]
- gma [params]
git merge --abort [params]
In branchName aliases is allowed (see git checkout section)
- gp [params]
git pull [params]
- gpu [params]
git push [params]
- gpuo [params] branchName
git push --set-upstream origin [params] branchName
In branchName aliases is allowed (see git checkout section)
- grs [params]
git reset --soft [params] @~
- grh [params]
git reset --hard [params] @~