Sunday, October 27, 2013

Starting over with git

I had some kind of screw up with my branching when trying to push to my github repository.  I never really figured out the exact issue, but since the repository had really minimal history i just removed it.  Here is what I did for the local repository;

From the terminal while in the correct directory i typed: rm -rf .git
Then I reinitialized the local repository with: git init

In github I removed the repository by going under settings when in the said repository and choosing remove.  I then created a new github repository and went back to the terminal to push files and all seems well.  It was an hour or two of cursing before i figured out what to do.

No comments:

Post a Comment