Skip to content
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

Making an empty main branch #4

Open
jennifer-spillane opened this issue Mar 16, 2022 · 0 comments
Open

Making an empty main branch #4

jennifer-spillane opened this issue Mar 16, 2022 · 0 comments

Comments

@jennifer-spillane
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant