diff options
Diffstat (limited to 'git.sh')
-rwxr-xr-x | git.sh | 21 |
1 files changed, 7 insertions, 14 deletions
@@ -1,16 +1,9 @@ -#!/bin/bash -############################################################################ -# Author : Erik Dubois -# Website : http://www.erikdubois.be -############################################################################ - - +#!/bin/bash mksrcinfo git add --all . - -# Committing to the local repository with a message containing the time details -curtime=$(date) -git commit -m "commit from @ $curtime" - -# Push the local snapshot to a remote destination -git push -u origin master
\ No newline at end of file +echo "####################################" +echo "Write your commit comment!" +echo "####################################" +read input +git commit -m "$input" +git push -u origin master |