Created
March 16, 2021 16:34
-
-
Save thislooksfun/393852c3e31df218742031a5695a5cde to your computer and use it in GitHub Desktop.
My 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
[alias] | |
aliases = "!echo \"Use 'git la' to list aliases\"" | |
a = add | |
aa = "!git add -A && git st" | |
b = branch | |
bd = branch -d | |
bl = branch --list | |
co = checkout | |
cod = checkout develop | |
cos = checkout staging | |
com = checkout master | |
cor = checkout release | |
cmm = commit -m | |
cma = commit --amend | |
cmam = commit --amend -m | |
cmas = commit --amend --no-edit | |
cmf = commit --no-verify -m "fixup" | |
dc = diff --cached | |
dw = diff --word-diff | |
dwc = diff --word-diff --cached | |
ff = flow feature | |
ffs = flow feature start | |
ffp = flow feature publish | |
fff = flow feature finish | |
fh = flow hotfix | |
fhs = flow hotfix start | |
fhp = flow hotfix publish | |
fhf = flow hotfix finish | |
fr = flow release | |
frs = flow release start | |
frp = flow release publish | |
frf = flow release finish | |
la = "!git config -l | grep alias | cut -c 7-" | |
lc = config -l | |
ls = log --pretty=format:"%C(yellow)%h\\ %Creset%s%C(cyan)\\ [%cn]%C(auto)%d%Creset" --decorate | |
p = push | |
pat = "!git push --all && git push --tags" | |
rsh = reset HEAD | |
st = status -s | |
sta = status | |
up = pull --rebase --prune |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment