- Code: Select all
git rm -r --cached TheFolderName/
Btw, since you have an updated remote copy, wouldn't it be easier if you just clone your remote repository in another folder?
weslly wrote:You should use git init only in the folder you want to be a repository. If you don't want to have your Users/Andrew folder as a git repository, you should delete (or rename, if you're feeling insecure) a folder named .git at your repository root (Users/Andrew/.git).
Users browsing this forum: Exabot [Bot] and 21 guests