ruby on rails - Accidentally created a git submodule -


so developing api client gem, working great, had it's own github repository , team lead decided wanted me move client api api repository itself. copied files on it's own directory, removed .git directory client's directory, , merged master. worked great.

however, when try create branch off of master, directory shows submodule on github, , isn't tracked in local git. there no .gitmodules folder, , no mention of submodules whatsoever. can't create new branch because says there untracked files overwritten (all files in client gem directory) far can tell there's no way me start tracking these files. can access directory fine, modify file, change doesn't show in api projects git.

what do?

running git rm --cached --ignore-unmatch client allowed me git add client/


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -