210 bytes, 8 runs, executable
created by r1870400018:1270, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | #!/bin/bash |
| 2 | |
| 3 | MSG_FILE=".commit_msg.txt" |
| 4 | BRANCH=$(git branch --show-current) |
| 5 | |
| 6 | git add . && \ |
| 7 | git add -u && \ |
| 8 | git commit -a -F "$MSG_FILE" && \ |
| 9 | git push -u origin "$BRANCH" && \ |
| 10 | rm $MSG_FILE && \ |
| 11 | touch $MSG_FILE |