mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
Allow arguments to git graph
This commit is contained in:
parent
17b956b27e
commit
51dd8f16dc
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@
|
|||
changelog = !git log --oneline --no-merges ${1-$(git describe --abbrev=0)}..HEAD
|
||||
upstream = !git log --oneline --no-merges HEAD..${1-$(git branch -lvv | perl -ne '/^\\*.*\\[(.*?)\\]/ and print "$1\n"')}
|
||||
local = !git log --oneline --no-merges ${1-$(git branch -lvv | perl -ne '/^\\*.*\\[(.*?)\\]/ and print "$1\n"')}..HEAD
|
||||
graph = log --oneline --graph --all --decorate --date=iso
|
||||
graph = !git log --oneline --graph --decorate --date=iso "$@"
|
||||
save = !git add -A && git commit -m 'SAVEPOINT'
|
||||
undo = reset HEAD~1 --mixed
|
||||
backup = !git push origin/backup/$(whoami)/$(git branch)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue