Created
August 22, 2022 13:57
-
-
Save cseeman/0f9ca0544119ae49c4b76cef82031f70 to your computer and use it in GitHub Desktop.
Adam's Gitconfig
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
[alias] | |
asq = !sh -c 'git rip $1^ --autosquash' - | |
b = branch | |
can = commit -v --amend --no-edit | |
cgf = checkout Gemfile Gemfile.lock | |
ci = commit -v | |
cia = commit -v --amend | |
co = checkout | |
cp = cherry-pick | |
d = diff | |
dm = diff --patience master | |
ff = merge --ff-only | |
fo = fetch origin | |
fxp = commit -v --fixup | |
l = formatted-log | |
lb = formatted-log --branches | |
ll = log --stat | |
lll = log -p | |
nocom = merge --no-commit | |
noff = merge --no-ff | |
oops = reset --mixed HEAD~1 | |
pf = push --force-with-lease | |
po = push origin master | |
prb = pull --rebase | |
rba = rebase --abort | |
rbc = rebase --continue | |
recent = for-each-ref --count=10 --sort=-committerdate refs/heads/ --format="%(refname:short)" | |
rip = rebase --interactive --rebase-merges | |
st = status | |
su = !sh -c 'git push --set-upstream origin $(git symbolic-ref --short HEAD)' | |
up = pull --rebase --autostash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment