Reputation: 3028
I've got a project folder on my hard-drive...it was a copy of a repository on github.
I've made quite a bit of change to the code.
But I'd like to start a new project on github with this current code on hd.
Upvotes: 2
Views: 148
Reputation: 114
** Option 1 ** delete the invisible .git repository then make a one new
if you are in Windows navigate to your folder, click view tab and check hidden items to find invisible folders
** Option 2 **
Create a new repository on github, then open your command line where the file are located and type
git add .
git commit -m "commit"
git remote add origin [github rep link]
git push -u new master
Upvotes: 1