-
-
Save dehidehidehi/74ce11b636603d68eb30782a954a5d55 to your computer and use it in GitHub Desktop.
Git config properties
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
[user] | |
name = K | |
email = DGEM@GM.CM | |
[alias] | |
cp = cherry-pick | |
co = checkout | |
s = status | |
sb = status -sb | |
c = commit | |
cm = commit -m | |
cam = commit -am | |
cammend = commit --amend -m | |
cmm = commit -Ssm | |
ss = commit --amend -S | |
last = log -1 HEAD --stat | |
ls = ls-files | |
l = log --oneline --abbrev-commit --reverse --date=short --pretty="%C(Yellow)%h %C(reset)%ad (%C(Green)%cr%C(reset))%x09 %C(Cyan)%an: %C(reset)%s"' | |
lg = log -p | |
ll = log --oneline | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit | |
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all --date=local | |
d = diff | |
ds = diff --staged | |
# Show files ignored by git: | |
ign = ls-files -o -i --exclude-standard | |
# Display all the consul list | |
cl = config --list | |
# Display all the git aliases | |
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | |
# Push set-upstream | |
p = push | |
pl = pull | |
psu = push --set-upstream | |
psuo = push --set-upstream origin | |
[color] | |
ui = true | |
[color "diff"] | |
meta = yellow bold | |
commit = green bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
whitespace = red reverse | |
[core] | |
excludesfile = ~/.gitignore_global | |
[init] | |
defaultBranch = develop | |
[fetch] | |
prune = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment