Last active
December 16, 2015 18:40
-
-
Save natanshalva/5479854 to your computer and use it in GitHub Desktop.
Git commit script
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
#!/bin/sh | |
# Add hot key to git commit | |
# Insert alias in your .bashrc or in .bash_aliases | |
# Example: alias bc="/path/to/this/file" | |
# | |
echo "Git Add" | |
eval "git add -a" | |
echo "insert your message" | |
read VAR | |
eval "git commit -am'$VAR'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment