⚡ updated
This commit is contained in:
@ -11,7 +11,6 @@
|
||||
# * replaced by git-extras
|
||||
aliases = !git config -l | grep ^alias | cut -c 7- | sort # List all aliases. Stolen from here: https://twitter.com/TrevorBramble/status/774292970681937920
|
||||
checkout-default= !git checkout `git branch-default`
|
||||
checkout-default--= !git checkout-default && git branch --delete @{-1} --verbose
|
||||
branch-default = !git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@'
|
||||
branches = for-each-ref --sort=-committerdate refs --format=\"%(authordate:iso8601)\t%(color:blue)%(refname:short)%(HEAD)\t%(if:notequals="")%(upstream:short)%(then)→ %(upstream:short)%(color:reset)%(else)%(color:yellow)%(objectname:short)%(color:reset)\t%(contents:subject)%(end)\"
|
||||
tags = tag -l --sort=-creatordate --format='%(refname:short): [%(creatordate:short)] %(subject)'
|
||||
@ -19,17 +18,15 @@
|
||||
log-list = log --color --graph --pretty=format:'%Cred%h%Creset %Cgreen[%ad] -%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset'
|
||||
log-list-nocolors = log --graph --pretty=format:'%h [%ad] -%d %s <%an>'
|
||||
status--= !git fetch && git status && echo && echo Commits unpushed: && git log @{push}..HEAD && echo
|
||||
commit--= !clear && git status -sb | grep -v -e '^ M' & git commit --interactive -v
|
||||
stashpush = !git stash && git pull && git push && git stash pop
|
||||
commit--interactive-v= !clear && git status -sb | grep -v -e '^ M' & git commit --interactive -v
|
||||
pu-shll-stash = !git stash && git pull && git push && git stash pop
|
||||
unstage = reset HEAD --
|
||||
undoall = reset --soft HEAD^
|
||||
diff-dirs = diff --dirstat --find-copies --find-renames --histogram --color
|
||||
status-submodule = !git submodule --quiet foreach 'git fetch' && git submodule foreach 'git status && echo'
|
||||
submodule-foreach-status = !git submodule --quiet foreach 'git fetch' && git submodule foreach 'git status && echo'
|
||||
# * delete-submodule: rm-submodule = !git submodule deinit -f $1 && rm -rf .git/modules/$1 && git rm -rf $1
|
||||
update-submodule = submodule update --remote --merge
|
||||
pull-submodule = submodule foreach 'git pull'
|
||||
diff-submodule = submodule foreach 'git diff'
|
||||
set-upstream = !git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`
|
||||
submodule-update-merge = submodule update --remote --merge
|
||||
set-upstream-to-current = !git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`
|
||||
push-new=!git push -u origin `git rev-parse --abbrev-ref HEAD`
|
||||
[core]
|
||||
editor = vim
|
||||
|
Reference in New Issue
Block a user