From d7bee96329c93121be7c1f1c038f0ea83766a378 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 18 May 2023 12:34:05 +0200 Subject: [PATCH] git/clone,commit --- bash/alias/git.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) 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 \