Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Hyde
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,9 @@ update() { #? Pull updates from Hyde repository
get_aurhlpr
print_prompt -y "Pulling Hyde repo..."
git stash >/dev/null
git pull
git fetch
remote_branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u})
git reset ${remote_branch} --hard
git stash pop 2>/dev/null
print_prompt -y "Checking Hyde CLI updates..."
[[ ${CLI_PATH} != *"/usr"* ]] && export HYDE_LOCAL=1
Expand Down