-
Notifications
You must be signed in to change notification settings - Fork 1
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
Error when trying to Checkout to new Branches other than main #9
Comments
Hmm, it works for me when I clone the repo, although I do get the .gitattributes:2 warning as well. I'm not sure why; it's a standard seeming thing I found to normalise the line endings across my MacOS and Windows devices. The branches also look fine to me, even when I check things out while not signed in, so I'm not quite sure what's up with that. |
I tried cloning again and it seems like this pull request fixed the issue, so I'll close it. Feel free to open another if you're still having issues though! |
I tried asking on the julia slack channel, so they suggested the .gitattributes PR. Please join the channel if you haven't already. But even with this, the issue seems to persist on linux machine at least: I believe that it's test it other folks on their linux machines tries to clone and see whether the error persist.
We can make changes and open PR via GitHub which seems to work. |
Hi, @evanhockings, I tried a different method. Increasing the size of the buffer and doing clone by depth -1 works! So, the problem is partially solved. I can checkout to the main branch but not to any new branches |
Okay, great! I checked the branch protection rule I've set on the scalable_aces branch and it should just be making it read-only, so I'm not sure why there'd be any issues with that. Still don't really understand Git particularly well, so I'll let this simmer and come back to it a bit later—probably when I next push some big code updates! |
Hi, @evanhockings . I have good news. The issue is solved. Generally, the checkout issue can be solved by the following: For Installation
For checkout to custom branch
|
I tried -- depth 1, it does not work as well.
The text was updated successfully, but these errors were encountered: