diff --git a/bash/alias/git.sh b/bash/alias/git.sh index c0645b1..14e5dfe 100644 --- a/bash/alias/git.sh +++ b/bash/alias/git.sh @@ -56,6 +56,12 @@ branch \ --set-upstream-to \ " +# clone a remote repository +alias gc="\ +git \ +clone \ +" + # clean untracked files alias gcf="\ git \ @@ -65,14 +71,14 @@ clean \ " # commit the index -alias gc="\ +alias gcm="\ git \ commit \ --message \ " # redo the last commit with a different message -alias gca="\ +alias gcma="\ git \ commit \ --amend \ @@ -80,7 +86,7 @@ commit \ " # make a root commit -alias gce="\ +alias gcme="\ git \ commit \ --allow-empty \ @@ -89,7 +95,7 @@ commit \ " # commit the index and sign -alias gcs="\ +alias gcms="\ git \ commit \ --gpg-sign \