summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Jacobson <owen.jacobson@grimoire.ca>2014-02-04 18:47:08 -0500
committerOwen Jacobson <owen.jacobson@grimoire.ca>2014-02-04 18:47:08 -0500
commit147c3df7156bdcac872c94303c5fc4371d732a56 (patch)
tree8a0b6ae4aaba64187c1b0bf2c2dc69936794aa93
parentd8ed91da3e492ec6fbd61c6bc57666bd65784437 (diff)
Fixed `git this` when run from a subdir.
`git this` now captures the entire work tree. `git these` captures the cwd only.
-rw-r--r--aliases.gitconfig5
1 files changed, 4 insertions, 1 deletions
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: