]> code.delx.au - dotfiles/commitdiff
git: lso and newpush aliases
authorJames Bunton <jbunton@atlassian.com>
Fri, 1 Nov 2013 12:11:23 +0000 (23:11 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Fri, 1 Nov 2013 12:17:15 +0000 (23:17 +1100)
.gitconfig

index a2f91f11bf86751e8feffae3dbed346505cd98cf..de51fe7c9db59a599b49ac0c7b199a730eafcd0b 100644 (file)
@@ -24,3 +24,5 @@
        dicw = diff --cached --color-words
        ff = merge --ff-only
        ffpull = pull --ff-only
+       lso = ls-files -X .gitignore -o
+       newpush = !git push -u origin "$(git rev-parse --abbrev-ref HEAD)"