We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
get reset --hard
git pull
1 parent 00dc8b9 commit 1bb8109Copy full SHA for 1bb8109
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