From 147c3df7156bdcac872c94303c5fc4371d732a56 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 4 Feb 2014 18:47:08 -0500 Subject: Fixed `git this` when run from a subdir. `git this` now captures the entire work tree. `git these` captures the cwd only. --- aliases.gitconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aliases.gitconfig b/aliases.gitconfig index 528f49c..f8064f5 100644 --- a/aliases.gitconfig +++ b/aliases.gitconfig @@ -65,7 +65,10 @@ # Stage the work tree, verbatim, including removals and renames: `git # this` - try to keep `git status` clean all the time, or this will # make you so, so sad. `.git/info/exclude` is a great help for this. - this = add --all + this = add --all :/ + # Stage this subdirectory of the work tree, verbatim, including + # removals and renames: `git these`. + these = add --all . # Replace the most recent commit: `git amend [commit options]`. amend = commit --amend --no-edit # Retrofit changes onto an old commit during the next rebase/rewrite: -- cgit v1.2.3