Add status file listing aliases

This commit is contained in:
Loic Nageleisen 2022-10-18 15:54:55 +02:00
parent fb207d7e6c
commit ddf2797630
Signed by: lloeki
GPG key ID: D05DAEE6889F94C2

View file

@ -41,3 +41,5 @@
undo = reset HEAD~1 --mixed undo = reset HEAD~1 --mixed
backup = !git push origin/backup/$(whoami)/$(git branch) backup = !git push origin/backup/$(whoami)/$(git branch)
lint = !git branch --merged | grep -v \"^\\s*master$\" | grep -v \"\\*\" | xargs -n 1 git branch -d lint = !git branch --merged | grep -v \"^\\s*master$\" | grep -v \"\\*\" | xargs -n 1 git branch -d
modified = !git status --porcelain | perl -ne '/^M (.*)/ and print \"$1\\n\"'
conflicts = !git status --porcelain | perl -ne '/^UU (.*)/ and print \"$1\\n\"'