josegonzalez/python-github-backup

PR #178 broke backups with the --bare switch (regression in version 0.40.0)

dallmair opened this issue · 1 comments

fetch is the right command as it fetches all changes from the server and works for both bare and "full" (?) repos.

pull additionally gets the default branch's content into the working directory. However, bare repos do not have a working directory, therefore pull fails on them.

PR #180 fixes this. Please merge.

Thanks for merging the PR today!

--> Closed.