diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2023-09-10 18:42:20 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2023-09-10 18:42:20 +0100 |
| commit | 76dee9bafe2aeb2f47fe30ee99defebb27ecd6c0 (patch) | |
| tree | efbb633d8afc1fcea8a50f813328d79a99388e5c /git/config | |
| parent | 98d5c79eaae6f69019fcb4c155353cacf71a5b59 (diff) | |
git: Add ‘root’ alias to find top-level directory
Diffstat (limited to 'git/config')
| -rw-r--r-- | git/config | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -1,11 +1,12 @@ [alias] - br = branch - co = checkout - di = diff - dis = diff --staged - fa = fetch --all --prune - gi = grep -i - st = status + br = branch + co = checkout + di = diff + dis = diff --staged + fa = fetch --all --prune + gi = grep -i + root = rev-parse --show-toplevel + st = status [branch] autoSetupRebase = always |
