From 1e670e4441502aad0ff1e6dd6aa30c99f1a300ea Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Tue, 14 Dec 2021 15:00:15 +0100 Subject: [PATCH] dangerous alias: git refresh --- dot_gitconfig.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index a57d278..d008ecd 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -21,6 +21,7 @@ track = "!for BRANCH in $(git branch -a | grep remotes | grep -v HEAD); do git branch --track \"${BRANCH#remotes/origin/}\" \"${BRANCH}\"; done" untrack = "!for BRANCH in $(git branch | grep -v '*'); do git branch -D \"${BRANCH}\"; done" work-in-progress = rebase -i @{u} + refresh = "!git untrack && git gc && git f && git track" [include] path = ~/.gitconfig_custom.inc [credential]