From e575e47aaa073e017df75b7259a11b19a4ea2cbb Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Sat, 7 Mar 2015 10:39:30 -0800 Subject: [PATCH] Added commit amend simple message --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d61035c..4e4dd43 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,12 @@ A [guide for astronauts](http://www.jsc.nasa.gov/news/columbia/fr_generic.pdf) ( For clarity's sake all examples in this document use customized bash prompt in order to indicate the current branch and whether or not there are staged changes. The branch is enclosed in parentheses, and a `*` next to the branch name indicates staged changes. +## I wrote the wrong thing in a commit message + +```sh +git commit --amend +``` + ## I need to add staged changes to the previous commit ```