Git internal
多帐号管理
Rename a Branch
Merge a Specific Commit
Git Submodule
refs:
Git Alias
Commit
gcmsg=‘git commit -m’ gcam=‘git commit -a -m’ gc!=‘git commit -v —amend’ gcan!=‘gcan!’=‘git commit -v -a —no-edit —amend’
checkout
gco=‘git checkout’ gcm=‘git checkout $(git_main_branch)‘
pull
gupa=‘git pull —rebase —autostash’ gup=‘git pull —rebase
push
gp=‘git push’
rebase
grb=‘git rebase’ grbc=‘git rebase —continue’
stash
gsta=‘git stash push’ gstc=‘git stash clear’ gstp=‘git stash pop’ gstu=‘git stash —include-untracked’
status
gss=‘git status -s’ gst=‘git status’