Update .gitconfig
This commit is contained in:
parent
c41a2a51dd
commit
6f872ad6ca
|
@ -9,21 +9,19 @@
|
||||||
unassume = update-index --no-assume-unchanged
|
unassume = update-index --no-assume-unchanged
|
||||||
# List all files that are assumed to be unchanged
|
# List all files that are assumed to be unchanged
|
||||||
assumed = !git ls-files -v | grep '^[hsmrck?]' | cut -c 3-
|
assumed = !git ls-files -v | grep '^[hsmrck?]' | cut -c 3-
|
||||||
work-in-progress = commit -a -m 'WIP'
|
|
||||||
# Create a new branch.
|
# Create a new branch.
|
||||||
create-new-branch = checkout -b
|
create-new-branch = checkout -b
|
||||||
# Add a commit that fixes another (to be used with `rebase -i`).
|
# Add a commit that fixes another (to be used with `rebase -i`).
|
||||||
fixup = commit --fixup
|
fixup = commit --fixup
|
||||||
noff = merge --no-ff
|
noff = merge --no-ff
|
||||||
rebase-my-fork = !git fetch upstream && git rebase upstream/master
|
|
||||||
remotes = remote -v
|
remotes = remote -v
|
||||||
staged = diff --staged
|
staged = diff --staged
|
||||||
undo = reset --hard
|
undo = reset --hard
|
||||||
unstage = reset HEAD --
|
unstage = reset HEAD --
|
||||||
wipe = clean -fd
|
wipe = clean -fd
|
||||||
word-diff = diff --word-diff
|
word-diff = diff --word-diff
|
||||||
ls = log --oneline --decorate -20
|
ls = log --oneline --decorate
|
||||||
ll = log --oneline --stat -10
|
ll = log --oneline --numstat
|
||||||
|
|
||||||
# Print the name of the current branch.
|
# Print the name of the current branch.
|
||||||
current-branch = symbolic-ref --short HEAD
|
current-branch = symbolic-ref --short HEAD
|
||||||
|
|
Loading…
Reference in a new issue