mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 22:55:00 +08:00
Add git config
This commit is contained in:
parent
01b68a7b65
commit
8ddf7f7a16
1 changed files with 27 additions and 0 deletions
27
.config/git/config
Normal file
27
.config/git/config
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
[user]
|
||||
name = rydesun
|
||||
email = rydesun@gmail.com
|
||||
signingkey = rydesun@gmail.com
|
||||
[alias]
|
||||
lg = log --oneline --abbrev=4 --graph --decorate --all
|
||||
gl = log --oneline --abbrev=4 --graph --decorate --all
|
||||
st = status -s
|
||||
c = commit
|
||||
b = branch
|
||||
p = push
|
||||
co = checkout
|
||||
rb = rebase
|
||||
mg = merge
|
||||
lt = ls-tree -rl --abbrev=4
|
||||
ls = ls-files
|
||||
lo = ls-files -o
|
||||
lm = ls-files -m
|
||||
lu = ls-files -u
|
||||
ld = ls-files -d
|
||||
cat = cat-file -p
|
||||
d = diff
|
||||
ds = diff --staged
|
||||
[pull]
|
||||
rebase = true
|
||||
[credential]
|
||||
helper = cache
|
||||
Loading…
Add table
Add a link
Reference in a new issue