josegonzalez/python-github-backup

Re-running the utility does not update the local files

Opened this issue · 0 comments

Expected behavior: I run the utility again and the modified files are synchronized.
But the files remain unchanged.

~$ github-backup --version
github-backup 0.45.1

Steps

  1. Create test repo. My test repo: https://github.com/itdoginfo/test-python-github-backup
  2. Run utility
github-backup itdoginfo --all -f github_key -o /home/user/test-python-github-backup/ -R test-python-github-backup
  1. Check README.md
~$ cat test-python-github-backup/repositories/test-python-github-backup/repository/README.md 
# test-python-github-backup

1
  1. Add string to README.md String after first backup. Main branch
  2. Re-run utility. Identical command from step three
  3. Check README.md
~$ cat test-python-github-backup/repositories/test-python-github-backup/repository/README.md 
# test-python-github-backup

1

Maybe I don't understand something and I need to use some additional flags?