Last active
January 30, 2025 18:10
-
-
Save ndbroadbent/7575592 to your computer and use it in GitHub Desktop.
SCM Breeze git aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GFORCE => git add -A && git commit --amend -C HEAD && git push -f | |
c => git_index | |
cbg => git rev-parse --verify HEAD | simple_clipboard | |
g => git | |
ga => git_add_shortcuts | |
gaa => git add -A | |
gap => git add -p | |
gash => git stash | |
gasha => git stash apply | |
gashl => git stash list | |
gashp => git stash pop | |
gau => git add -u | |
gb => _scmb_git_branch_shortcuts | |
gbD => _scmb_git_branch_shortcuts -D | |
gba => _scmb_git_branch_shortcuts -a | |
gbd => _scmb_git_branch_shortcuts -d | |
gbl => git blame | |
gbm => _scmb_git_branch_shortcuts -m | |
gc => git commit | |
gca => git_commit_all | |
gce => git clean | |
gcef => git clean -fd | |
gch => git commit -C HEAD | |
gcl => git clone | |
gcm => git commit --amend | |
gcmh => git commit --amend -C HEAD | |
gco => git checkout | |
gcob => git checkout -b | |
gcp => git cherry-pick | |
gcv => git commit --verbose | |
gd => git diff -- | |
gdc => git diff --cached -- | |
gdt => git difftool | |
gdw => git diff --word-diff | |
gf => git fetch | |
gfa => git fetch --all | |
gfr => git fetch && git rebase | |
git_aliases => list_aliases git | |
gl => git log --graph --pretty=format:\%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset\ --abbrev-commit | |
gla => git log --graph --pretty=format:\%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset\ --abbrev-commit --branches | |
glg => git log --graph --max-count=5 | |
gls => git log --stat --max-count=5 | |
gm => git merge | |
gmff => git merge --ff | |
gmnff => git merge --no-ff | |
gpl => git pull | |
gpls => git pull && git push | |
gps => git push | |
gpsf => git push -f | |
gr => git remote -v | |
grb => git rebase | |
grba => git rebase --abort | |
grbc => git rebase --continue | |
grbi => git rebase -i | |
grm => git rm | |
grs => git reset -- | |
grsh => git reset --hard | |
grsl => git reset HEAD~ | |
gs => git_status_shortcuts | |
gsf => git_show_affected_files | |
gsh => git show | |
gsm => git show --summary | |
gss => git status -s | |
gst => git status | |
gt => git tag | |
pcad => git push; cap sandbox deploy | |
pcpd => git push; cap production deploy | |
pcsd => git push; cap staging deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git checkout -b is actually gcb not gcob