gpp execute after cli

This commit is contained in:
Noah Masur committed 2021-10-21 11:21:31 -04:00
1 parent b9e248be32
commit a1962afef0
3 files changed
+7 -13

No files matched your search

-12
View File
@@ -1,12 +0,0 @@
#!/bin/sh
# Copied from David Pedersen: https://github.com/davidpdrsn/dotfiles/blob/master/bin/git-pp
set -e
git_branch_name() {
val=$( git branch 2>/dev/null | grep '^\*' | colrm 1 2 )
echo "$val"
}
git push --set-upstream origin "$(git_branch_name)"