-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-running the utility does not update the local files #269
Comments
Existing repos will only have their remotes fetched:
so checkout the remote branch or merge it into the local copy. |
Thank you for opening this issue. Just ran into the same problem (?) Is there a way to either replace I'm using this on a Synology NAS and would like to be able to browse the latest files in the file explorer instead of having to go into the terminal to Thanks! |
This has come up several times, duplicate issue here #196 You can't assume a merge will always be clean, so IMO this introduces unnecessary complexity to handle potential conflicts and isn't really necessary. |
Yes, I do understand. However, how about at least giving the option. In my case, for example, I use the tool for archive purposes only so will not very likely ever run into any conflicts whatsoever. But as long as my data is still backed up even without the additional |
As mentioned in the readme:
|
@itdoginfo For clarity, when the script fetches 'remote' branches, the git descriptors can be misleading, because those 'remote' branches are actually available locally. You can checkout a remote branch (which, again, is saved on your local drive at this point) or if you're not concerned with losing anything in your local branches, you can run a simple PowerShell script to loop through all repositories, running Also, FYI: https://github.com/earwig/git-repo-updater <- Another python script you can simply run after backup in lieu of PowerShell. You could even add a line to the end of |
Expected behavior: I run the utility again and the modified files are synchronized.
But the files remain unchanged.
Steps
String after first backup
. Main branchMaybe I don't understand something and I need to use some additional flags?
The text was updated successfully, but these errors were encountered: