Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # - Determine system and customer from pwd
- # - Push local changes to github
- CUSTOMER=`pwd | sed -e 's?.*/\(.*\)/\(.*\)?\1?'`
- SYSTEM=`pwd | sed -e 's?.*/\(.*\)/\(.*\)?\\2?'`
- git add .
- git commit -a
- git push origin "feature/${CUSTOMER}/${SYSTEM}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement