Commit 1969f4f5 by Fred Smith

substitute spaces to underscores

parent 454b6fd3
......@@ -17,7 +17,7 @@
undo = reset --soft HEAD~1
discard = checkout --
cop = "!cop() { DEFAULTBRANCH="master"; BRANCHNAME=${@-$DEFAULTBRANCH}; git fetch --all; git checkout $BRANCHNAME && git pull;}; cop"
commitnewbranchandpr = "!commitnewbranchandpr() { ARGS=$@; BRANCHNAME=$(echo $ARGS | sed -e 's/ /_/g'); git checkout -b derf/$BRANCHNAME && git commit -a -m \"$ARGS\" && git newpush && git pull-request;}; commitnewbranchandpr"
commitnewbranchandpr = "!commitnewbranchandpr() { ARGS=$@; BRANCHNAME=$(echo $ARGS | sed -e 's/ /-/g'); git checkout -b derf/$BRANCHNAME && git commit -a -m \"$ARGS\" && git newpush && git pull-request;}; commitnewbranchandpr"
syncwithmaster = "!git checkout master; git pull; git checkout @{-1}; git rebase master"
wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard
unpublish = "!git push origin :$(git branch-name)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment