Browse Source

git: add `git wsfix` to fix whitespace

Signed-off-by: Alejandro Mery <amery@geeks.cl>
master
Alejandro Mery 7 years ago
parent
commit
21872524d9
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      files/.gitconfig

+ 1
- 0
files/.gitconfig

@ -16,6 +16,7 @@
st = status
cp = cherry-pick
ls = ls-files
wsfix = !git diff HEAD >P.diff && git reset --hard HEAD && git apply --index --whitespace=fix P.diff && rm -f P.diff
tree = log --graph --decorate --pretty=oneline --abbrev-commit
amend = commit --amend --no-edit
fixup = commit --fixup

Loading…
Cancel
Save