Browse Source

update git aliases

master
ojizero 8 months ago
parent
commit
4dfac232fe
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      .gitconfig

+ 2
- 1
.gitconfig View File

@@ -38,12 +38,13 @@
d = diff
dn = !git --no-pager diff --name-only

l = !git --no-pager log -1
l = !"l() { git --no-pager log -${1-1}; }; l"
ll = log

ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi >> .gitignore"

ri = rebase -i
re = rebase
remaster = rebase master

ini = init

Loading…
Cancel
Save