Skip to content

Commit b3c4ace

Browse files
committed
fix: remove git reset default option
`git reset`’s `--refresh` option is: - already the default - not present before early 2022 Signed-off-by: Lucas Larson <[email protected]>
1 parent bb9fc63 commit b3c4ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom/aliases.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4862,7 +4862,7 @@ git_submodule_cleanup() {
48624862
')' \
48634863
-delete
48644864
done
4865-
command git submodule foreach --recursive 'command git reset --hard --recurse-submodules --refresh'
4865+
command git submodule foreach --recursive 'command git reset --hard --recurse-submodules'
48664866
command git submodule foreach --recursive 'command git stash clear'
48674867
command -v -- git_update >/dev/null 2>&1 &&
48684868
git_update "${@-}"

0 commit comments

Comments
 (0)