diff options
| author | Owen Jacobson <owen.jacobson@grimoire.ca> | 2014-03-03 16:41:02 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen.jacobson@grimoire.ca> | 2014-03-03 16:41:02 -0500 |
| commit | 147186a6cb6a4fae3dd7abd9cb282e99d6d7afd5 (patch) | |
| tree | 4d67e987c7a9c82cce4cb600338c6ff24793d352 /aliases.gitconfig | |
| parent | cc78c985678008ab03624a4d830323da5e74a8cc (diff) | |
| parent | 147c3df7156bdcac872c94303c5fc4371d732a56 (diff) | |
Merge pull request #7 from ojacobson/this-path
Fixed `git this` when run from a subdir.
Diffstat (limited to 'aliases.gitconfig')
| -rw-r--r-- | aliases.gitconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/aliases.gitconfig b/aliases.gitconfig index b1467a1..91d0713 100644 --- a/aliases.gitconfig +++ b/aliases.gitconfig @@ -67,7 +67,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: |
