We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 00dc8b9 + 1bb8109 commit e5d5a6aCopy full SHA for e5d5a6a
Hyde
@@ -263,7 +263,9 @@ update() { #? Pull updates from Hyde repository
263
get_aurhlpr
264
print_prompt -y "Pulling Hyde repo..."
265
git stash >/dev/null
266
- git pull
+ git fetch
267
+ remote_branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u})
268
+ git reset ${remote_branch} --hard
269
git stash pop 2>/dev/null
270
print_prompt -y "Checking Hyde CLI updates..."
271
[[ ${CLI_PATH} != *"/usr"* ]] && export HYDE_LOCAL=1
0 commit comments