Last active
October 27, 2017 15:28
-
-
Save ilosamart/457818dc2591a4bbb226a2b20c8c0081 to your computer and use it in GitHub Desktop.
Git sample files
This file contains hidden or 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
[user] | |
name = Blah | |
email = Blah@Bleh | |
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch | |
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short | |
type = cat-file -t | |
dump = cat-file -p | |
cam = commit -a -m | |
mt = mergetool | |
a = add | |
rs = reset --hard HEAD | |
# log | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | |
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat | |
ls = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short | |
depara = diff-tree --no-commit-id --name-status -r | |
# git flow | |
ffs = flow feature start | |
fff = flow feature finish | |
fhs = flow hotfix start | |
fhf = flow hotfix finish | |
frs = flow release start | |
frf = flow release finish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment