enhance gcm
This commit is contained in:
parent
46101abbd9
commit
a45ddd63c5
1 changed files with 2 additions and 2 deletions
|
@ -150,10 +150,10 @@ function ssh {
|
|||
function gcm {
|
||||
if [ -z "$1" ]; then
|
||||
echo "Commit-Message fehlt, setze Default-Message..."
|
||||
git commit -m "changed Files: $(git diff --name-only --staged)"
|
||||
git commit -s -m "changed Files: $(git diff --name-only --staged)"
|
||||
else
|
||||
# übergibt alle argumente an git commit -m als commit nachricht
|
||||
git commit -m "$*"
|
||||
git commit -s -m "$*"
|
||||
fi
|
||||
}
|
||||
function gc {
|
||||
|
|
Loading…
Reference in a new issue