Changes between Version 15 and Version 16 of WorkingConventions/GitSPJ
- Timestamp:
- 05/02/11 23:57:50 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkingConventions/GitSPJ
v15 v16 91 91 }}} 92 92 93 === Undoing a commit you wish you hadn't made === 94 95 If you have not yet pushed, you can just back up the head pointer one step: 96 * `git reset --soft HEAD^` 97 If you have pushed, you make a commit that exactly undoes what you did, and push that: 98 * `git revert HEAD` 99 See http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#fixing-mistakes 93 100 94 101 ---------------
