✅ Is it possible to create a new repository after pulling some code?
I recently edited a program I made and want to create an entirely new repository with a new name. But the only options I seem to have are to commit all. How can I create a new repository without altering the old repository I had?
12 Replies
this is for visual studio
I should've tagged as beginner
Delete the
.git
folderAre you sure you want an entirely new repo and not a branch?
I'm not sure what a branch is, but I'm trying to keep track of my progress in learning by attaching the name to the chapter I'm at in a book. If I attached it to this old chapter I think it would confuse me when checking out my progress
and some of the projects I don't want to associate a chapter at all, this one was associated so I removed it since I want to improve upon it for a long time
Closed!
or you could make a commit every time
git is made for tracking changes
well the name of this rep was ch6_something
but I wanted to remove the ch6 so I could continue working on it for awhile
I know that isn't necessary but
I would just continue working in one repo if I were you, and commit often
Thats the plan now with the new repo I've created
I just got rid of the ch6 so I know this is a project I want to work on long time
good luck! ^^
you can just create a new repo and then change the remote origin url, and then push all your local history there
Closed!