aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-09-19 22:52:45 +0800
committerGuangxiong Lin <[email protected]>2022-09-19 22:52:45 +0800
commit37a431ccfd56d5588d51f4fa8678c29d71308b8b (patch)
treec2bdec1584bb6f011a59f8432775413ec35ac2fa
parent7690b75328c12592bbe2783a2dbf4024890e620f (diff)
downloaddotfiles-37a431ccfd56d5588d51f4fa8678c29d71308b8b.tar.gz
dotfiles-37a431ccfd56d5588d51f4fa8678c29d71308b8b.tar.bz2
dotfiles-37a431ccfd56d5588d51f4fa8678c29d71308b8b.zip
Update git config
-rw-r--r--.gitconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitconfig b/.gitconfig
index 8d5d6e8..6b2360d 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -14,7 +14,7 @@
excludesFile = ~/.gitignore
attributesfile = ~/.gitattributes
[alias]
- ap = !git add -N . && git add --patch
+ ap = add --patch
# commit
ci = commit -v
@@ -32,8 +32,8 @@
who = blame
- rmc = rm --cached
untrack = rm --cached
+ unstage = restore --staged
lo = log --oneline --graph --decorate
loa = log --oneline --graph --decorate --all