mirror of
https://github.com/pyenv/pyenv-update.git
synced 2025-11-08 11:33:49 -05:00
Ensure update is a fast-forward
This commit is contained in:
@@ -43,7 +43,7 @@ verify_repo() {
|
||||
update_repo() {
|
||||
info "Updating $1..."
|
||||
verify_repo "$1" &&
|
||||
( cd "${repo}" && git pull "${REMOTE}" "${BRANCH}" )
|
||||
( cd "${repo}" && git pull --no-rebase --ff "${REMOTE}" "${BRANCH}" )
|
||||
}
|
||||
|
||||
info() {
|
||||
|
||||
Reference in New Issue
Block a user