https://github.com/kingzez/gitconfig
my own gitconfig
https://github.com/kingzez/gitconfig
git gitconfig
Last synced: over 1 year ago
JSON representation
my own gitconfig
- Host: GitHub
- URL: https://github.com/kingzez/gitconfig
- Owner: kingzez
- Created: 2017-05-19T01:47:00.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-19T01:50:42.000Z (about 9 years ago)
- Last Synced: 2025-01-23T12:46:21.702Z (over 1 year ago)
- Topics: git, gitconfig
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gitconfig
>my git config
```
[core]
excludesfile = /Users/w/.gitignore_global
[push]
default = matching
[alias]
ad = add
cm = commit
br = branch
cl = clone
di = diff
dlc = diff --cached HEAD^
fe = fetch
l = log
lo = log --oneline --decorate
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=format:'%Y-%m-%d %H:%M:%S'
ld = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
m = merge
co = checkout
s = status
po = pull
pu = push
sl = stash list
sa = stash apply
ss = stash save
[log]
date = format:'%Y-%m-%d %H:%M:%S'
```