fish: conf.d/git-abbr: Use no recurse submodules option for reset

Since we set submodule.recurse = true by default, calling reset
will automatically result in --recurse-submodules being passed
as true to git reset which is not what we want.

Also see,
https://git-scm.com/docs/git-config#Documentation/git-config.txt-submodulerecurse
This commit is contained in:
Sanchayan Maity 2024-07-10 19:56:21 +05:30
parent 4b2b9910c2
commit f725a4e354
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -109,12 +109,12 @@ abbr grbi 'git rebase -i'
abbr grbo 'git rebase --onto'
abbr grbs 'git rebase --skip'
abbr grev 'git revert'
abbr grs 'git reset'
abbr grs! 'git reset --hard'
abbr grsh 'git reset HEAD'
abbr grsh! 'git reset HEAD --hard'
abbr gpristine 'git reset --hard && git clean -dffx'
abbr grs- 'git reset --'
abbr grs 'git reset --no-recurse-submodules'
abbr grs! 'git reset --no-recurse-submodules --hard'
abbr grsh 'git reset --no-recurse-submodules HEAD'
abbr grsh! 'git reset --no-recurse-submodules HEAD --hard'
abbr gpristine 'git reset --no-recurse-submodules --hard && git clean -dffx'
abbr grs- 'git reset --no-recurse-submodules --'
abbr grm 'git rm'
abbr grmc 'git rm --cached'
abbr grst 'git restore'