Peter Krefting wrote:Thank you Peter. I've just done a hard reset and redid it the right way. It worked as expected. $ git checkout new $ rm d.txt $ git rm d.txt $ git commit I am a little bit confused regarding rm : first I did a simple "rm" but git would not commit, so I had to "git rm" for the index to be modified and have something to commit. Is this the right way to do things? Another question would be : instead of doing a hard reset (I might have other changes in the index that I don't want to loose) is it possible to remove only one "delete action" from the index? -- View this message in context: http://n2.nabble.com/%28beginner%29-git-rm-tp2231416p2231622.html Sent from the git mailing list archive at Nabble.com. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Matt Mackall | Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Natalie Protasevich | [BUG] New Kernel Bugs |
git: | |
