News for hackers. Stuff that matters.
Re:Gitjk – command to undo what you just did in git by mapmeld on Monday May 26, 2014 @04:21PM (#7801422)
somehow when I was testing it, I thought I needed to use rm -r --cached to remove a previously untracked file. It should do git reset in most cases.

Edit: now recommends git reset unless you did "git add ." or something like that.

Re:Gitjk – command to undo what you just did in git by achal on Monday May 26, 2014 @05:58PM (#7801851)
You may have been on your initial commit; in that case, you need to use rm --cached instead of reset to undo a git add.