From 9ccbe68dd12b2acd540844e5130eac338573cd9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sat, 10 May 2025 12:39:21 +0200 Subject: [PATCH] Add remote-stash alias --- .gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitconfig b/.gitconfig index 7e720f5..a0aee5b 100644 --- a/.gitconfig +++ b/.gitconfig @@ -3,3 +3,4 @@ remove-gone-branches = "!git branch -vv | sed 's/^\\*//' | grep ': gone]' | awk '{print $1}' | (xargs git branch --delete 2>/dev/null || echo 'No branches to delete')" root = rev-parse --show-toplevel word-diff = diff --word-diff + stash-remote = !git checkout -b stash/`date +"%Y-%m-%dT%H-%M-%S"` && git add -A && git commit -m 'Remote stash' && git push -u origin `git rev-parse --abbrev-ref HEAD`