You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An option to only fetch git repos instead of pulling them would be appreciated. I do not want my git working directory changed by topgrade. But a git fetch would be useful so I can instantly pull in the future.
The text was updated successfully, but these errors were encountered:
This looks like a reasonable feature, I think we can have a configuration entry to enable it:
[git]
# How many repos to pull at max in parallel# max_concurrency = 5# Additional git repositories to pull# repos = [# "~/src/*/",# "~/.config/something"# ]# Don't pull the predefined git repos# pull_predefined = false# Arguments to pass Git when pulling Repositories# arguments = "--rebase --autostash"# If enabled, Topgrade only `git fetch`s the specified repositories instead of pulling themfetch_only = false
Idly pondering if a slightly more general approach could be useful. For example, being able to configure update_command with a default of git pull to any override like git fetch or something else. Alternatively, perhaps there could even be a higher-level abstraction for various VCS systems, each with their own update_command default (and optional override). These thoughts are coming from #1012
An option to only fetch git repos instead of pulling them would be appreciated. I do not want my git working directory changed by topgrade. But a git fetch would be useful so I can instantly pull in the future.
The text was updated successfully, but these errors were encountered: