Loading .shell/funcs +3 −3 Original line number Diff line number Diff line Loading @@ -65,12 +65,12 @@ get_shell() update_worktree() { local upstream=$(git rev-parse --abbrev-ref --symbolic-full-name @{u}) local upstream=`git rev-parse --abbrev-ref --symbolic-full-name @{u}` if [ -z "$upstream" ]; then return 0 fi local stash=$(git stash create) local original=$(git rev-parse HEAD) local stash=`git stash create` local original=`git rev-parse HEAD` git reset --hard HEAD git fetch origin test -n "$stash" && git stash apply $stash Loading Loading
.shell/funcs +3 −3 Original line number Diff line number Diff line Loading @@ -65,12 +65,12 @@ get_shell() update_worktree() { local upstream=$(git rev-parse --abbrev-ref --symbolic-full-name @{u}) local upstream=`git rev-parse --abbrev-ref --symbolic-full-name @{u}` if [ -z "$upstream" ]; then return 0 fi local stash=$(git stash create) local original=$(git rev-parse HEAD) local stash=`git stash create` local original=`git rev-parse HEAD` git reset --hard HEAD git fetch origin test -n "$stash" && git stash apply $stash Loading