-
Notifications
You must be signed in to change notification settings - Fork 263
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
git: Reference at 'refs/heads/master' does not exist #421
Comments
It seems like whatever repo you're attempting to clone down doesn't have a When you're in the local directory and run a |
@ggiesen can you confirm you tried what @FragmentedPacket proposed and if this is still an issue? |
Still an issue:
The workaround is easy (doing one git pull before initial sync), but yeah, this should be fixed at some point |
@ggiesen Was your repo empty at the time you attempted? |
It may have been empty, though I thought it had at least a README.md. |
Environment
Steps to Reproduce
<token>
Expected Behavior
Clone and sync the repository locally
Observed Behavior
Creating/refreshing local copy of Git repository "nautobot"...
Reference at 'refs/heads/master' does not exist
Error while refreshing nautobot: Reference at 'refs/heads/master' does not exist
Repository synchronization completed in 0 minutes, 0.06 seconds
Manually doing a git pull in Nautobot's local git repository (
/opt/nautobot/git/nautobot/
in my case) solves the problem, and allows sync going forwardThe text was updated successfully, but these errors were encountered: