First: @cola_colin Now, I've been trying to add some new changes to the Community UberBalance, but the repository is giving me some problems. Here are some screenshots. Any ideas?
Is there a .git directory, and what is in it? I was able to pull a working repo (at least for read) from github, so you could always fall back to that.
Open a command line in that directory. Then type git status If it says there is not git repo in that directory then you have to type git init git remote add origin <repo url> Then type git add --all git commit -m "<Insert message here>" git push origin master If it does not say there is no repo existant(Aka a repo exists) then please paste the error in here. Git can be weird some times.
The simplest way I've found to fix this issue is delete the local repo and reclone it. It is caused by a missing/corrupted .git edit: specifically, you'll need to delete both the repo in github for windows, and from the file system.
That can cause you to loose work if you have not commited and pushed your changes(At least with CLI, maybe Github windows merges keeping your files)
I actually have made some unintended changes that I DON'T want on the online version - I meant to use GH to check which files I changed by accident. But voila, it says the repo head doesn't exist! (I didn't touch .git lol)
Well if you run git status You can see what files you have changed(Unless there is error, in which case please post) You can run git checkout -- <filename> To revert a file back to its state on the remote(Aka github)