From 9d3897b579bddba00b2be898633c80b11f241c56 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Thu, 28 Sep 2023 09:12:27 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20:=20configuration=20de?= =?UTF-8?q?=20git?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/gitconfig | 11 +++++++++++ home/shrc.d/aliases | 8 +------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/home/gitconfig b/home/gitconfig index 55e8873..c9cd0fd 100644 --- a/home/gitconfig +++ b/home/gitconfig @@ -7,3 +7,14 @@ defaultbranch = main [pull] rebase = true +[alias] + s = status + l = log + c = commit + d = diff + p = pull + ch = checkout + a = add + sh = show + m = merge + r = rebase diff --git a/home/shrc.d/aliases b/home/shrc.d/aliases index 305a8f8..af9803b 100644 --- a/home/shrc.d/aliases +++ b/home/shrc.d/aliases @@ -9,11 +9,5 @@ else fi # git -alias ga='git add' -alias gs='git status' -alias gc='git commit' -alias gm='git merge' -alias gch='git checkout' -alias gp='git pull' -alias gpus='git push' +alias g=git