Aliases
This commit is contained in:
parent
3b7ee9aee6
commit
95007b7ee6
|
@ -37,13 +37,16 @@
|
||||||
cm = !git c -m
|
cm = !git c -m
|
||||||
co = checkout
|
co = checkout
|
||||||
cop = checkout -p
|
cop = checkout -p
|
||||||
|
ds = diff --stat
|
||||||
f = fetch
|
f = fetch
|
||||||
g = grep --break --heading --line-number
|
g = grep --break --heading --line-number
|
||||||
|
create-initial-commit = !git commit -m 'Initial commit' --allow-empty
|
||||||
l = log --oneline --graph --decorate
|
l = log --oneline --graph --decorate
|
||||||
la = !git l --all
|
la = !git l --all
|
||||||
noff = merge --no-ff
|
noff = merge --no-ff
|
||||||
prb = pull --rebase
|
prb = pull --rebase
|
||||||
ra = rebase --abort
|
ra = rebase --abort
|
||||||
|
ri = rebase --interactive
|
||||||
rc = rebase --continue
|
rc = rebase --continue
|
||||||
s = status --short --branch
|
s = status --short --branch
|
||||||
staged = diff --staged
|
staged = diff --staged
|
||||||
|
@ -75,8 +78,10 @@
|
||||||
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-
|
||||||
|
push-current-branch = !git push -u $(git upstream) $(git current-branch)
|
||||||
|
|
||||||
# Shorter commands.
|
# Shorter commands.
|
||||||
|
cic = !git create-initial-commit
|
||||||
mod = !git merge-origin-develop
|
mod = !git merge-origin-develop
|
||||||
mom = !git merge-origin-master
|
mom = !git merge-origin-master
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue