Created
September 19, 2019 19:05
-
-
Save vito/fb89052fa2557918ef6a5355b98c4a5f to your computer and use it in GitHub Desktop.
auto commit-and-push RFC proposal documents on save
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BRANCH=$(shell git rev-parse --abbrev-ref HEAD) | |
all: .git/HEAD | |
.git/HEAD: */proposal.md | |
git add $? | |
git commit -m "wip" | |
git push origin HEAD:${BRANCH}-wip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment