We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e7d70a commit 6b5a7b6Copy full SHA for 6b5a7b6
lib/r10k/git/stateful_repository.rb
@@ -63,6 +63,7 @@ def sync(ref, force=true, exclude_spec=true)
63
if force
64
logger.warn(_("Overwriting local modifications to %{repo_path}") % {repo_path: @repo.path})
65
logger.debug(_("Updating %{repo_path} to %{ref}") % {repo_path: @repo.path, ref: ref })
66
+ @repo.fetch
67
@repo.prune
68
@repo.checkout(sha, {:force => force})
69
else
0 commit comments