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`