You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be just user error, but I could not get the instructions for creating an empty main branch to work. Every time I tried to switch over to the main branch I created following the instructions, it would tell me error: pathspec 'main' did not match any file(s) known to git. And when I created a main branch in my github gui and then tried to delete the files, they deleted from everywhere and I did a quick git reset --hard before committing so I didn't lose the whole site. This happened multiple times. Again, it's absolutely possible this was something that I just did wrong, but I'm not sure what, and I was following the instructions pretty carefully.
Eventually I just went into github online and deleted the files and directories I didn't want manually. So I have (what I think is) the same end result, but got there kind of a funny way.
The text was updated successfully, but these errors were encountered:
This might be just user error, but I could not get the instructions for creating an empty main branch to work. Every time I tried to switch over to the main branch I created following the instructions, it would tell me
error: pathspec 'main' did not match any file(s) known to git.
And when I created a main branch in my github gui and then tried to delete the files, they deleted from everywhere and I did a quickgit reset --hard
before committing so I didn't lose the whole site. This happened multiple times. Again, it's absolutely possible this was something that I just did wrong, but I'm not sure what, and I was following the instructions pretty carefully.Eventually I just went into github online and deleted the files and directories I didn't want manually. So I have (what I think is) the same end result, but got there kind of a funny way.
The text was updated successfully, but these errors were encountered: