I have a committed file in my GIT repo which I would like to remove from the index However, by putting them in hiding immediately, I want to be able to bring, so later I am able to walk, eg use If you want to remove each file, then commit it. This will remove them from the head of your branch - but since you have specified Next, use git stash apply stash @ {0} Is there any easy way to do this?
git rm --cached file_you_want_to_remove
- cached - they will leave them in your work tree (i.e. they will still be visible on your local file system but repo No one will see them when pulling their command.)
git
No comments:
Post a Comment