From 793afcdf3341f96d4f5a8e881f64cbc0c1e7454c Mon Sep 17 00:00:00 2001 From: thek4n Date: Thu, 27 Jun 2024 08:41:31 +0300 Subject: [PATCH] add git aliases --- home/user/.config/git/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/user/.config/git/config b/home/user/.config/git/config index 4dbaef8..ef4e9d7 100644 --- a/home/user/.config/git/config +++ b/home/user/.config/git/config @@ -53,9 +53,11 @@ dw = diff --word-diff=color co = checkout ci = commit + cia = commit -a amend = commit --amend --no-edit amenda = commit --all --amend --no-edit cim = "!_m() { git commit -m \"$*\"; }; _m" + cima = "!_m() { git commit -am \"$*\"; }; _m" ps = "!git push origin $(git rev-parse --abbrev-ref HEAD)" pl = "!git pull origin $(git rev-parse --abbrev-ref HEAD)" pr = "pull --rebase"