From 01a42c56db50a59b69c5acf476bc8da58066bbfb Mon Sep 17 00:00:00 2001 From: Thiago Mendonca Date: Thu, 4 Jul 2024 16:30:28 +0200 Subject: [PATCH] feat(symlinks): add uncommit alias for git --- symlinks/.gitconfig | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/symlinks/.gitconfig b/symlinks/.gitconfig index 3a23c10..2a36320 100755 --- a/symlinks/.gitconfig +++ b/symlinks/.gitconfig @@ -12,12 +12,12 @@ [alias] st = status - ci = commit - br = branch - co = checkout - df = diff - dc = diff --cached - lg = log -p + ci = commit + br = branch + co = checkout + df = diff + dc = diff --cached + lg = log -p sw = switch cmsg = "!f() { git commit -m $1; }; f" @@ -131,6 +131,8 @@ # Show a list of which branches you worked on last gbs = git branch --sort=-committerdate + uncommmit = reset --soft HEAD^ + [help] # Automatically correct and execute mistyped commands