Created
January 4, 2013 11:16
-
-
Save jujhars13/4451826 to your computer and use it in GitHub Desktop.
Windows command line based git commit using message given by whatthtecommit.com
you'll need curl and git on your path too. to run: git-commit.bat <your optional commit message to be prepended on>
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
rem 2013-01-04 [email protected] | |
rem will run git commit and add yoru message and then append it with some random text from whatthecommit.bat | |
rem you'll need CURL in your path | |
for /f "tokens=* delims= " %%a in ('curl -s http://whatthecommit.com/index.txt') do ( | |
git commit --verbose -a -m "%1 %%a" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment