Topic: Git question
Hope it's okay to ask a Git question here.
I'd like to know if I always need to run a Git rm command whenever I want to delete (or have already deleted) a file.
This is what happened that makes me wonder:
In Rails, I deleted the default public/index.html file, then updated my routes so that root points to a different file.
Then, after several other changes, did:
$ git add .
$ git commit -m "new home page"
$ git push heroku master
$ heroku openWhen the browser opened, I still saw the default rails home page. So I did a git rm index.html, and repeated the above. This time my home page was what I wanted.
I was glad that the problem was solved, but left wondering about why I had to take the extra step of doing a git rm to remove a file that I had already deleted. Is this normal?
Last edited by Brian71 (2012-04-09 09:31:20)