|
@@ -19,6 +19,7 @@ if command_exists git; then
|
|
|
git config --global alias.st stash
|
|
|
git config --global alias.cp cherry-pick
|
|
|
git config --global alias.w switch
|
|
|
+ git config --global alias.pm "checkout alexmatevish-master"
|
|
|
|
|
|
git config --global alias.bn "rev-parse --abbrev-ref HEAD" # branch-name
|
|
|
git config --global alias.psc "push origin \`git rev-parse --abbrev-ref HEAD\`" # push current
|
|
@@ -26,6 +27,8 @@ if command_exists git; then
|
|
|
git config --global alias.lco "log -n 1 --pretty=format:'%h'"
|
|
|
git config --global alias.bp "merge-base --octopus master"
|
|
|
git config --global alias.mod "!git status -s | grep -r '.*\.scala' | cut -f4 -d' '"
|
|
|
+
|
|
|
+ git config --global alias.lp "log --pretty=format:\"%h%x09%an%x09%ad%x09%s\""
|
|
|
|
|
|
alias g='git'
|
|
|
alias gs='git s'
|