From 2879029cf9efd747e102d6611aa097a32beb98dc Mon Sep 17 00:00:00 2001 From: didier amyot Date: Tue, 26 May 2015 21:38:51 -0400 Subject: [PATCH] added some tips and tricks --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 72721fd..aa539de 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ # isuckatgit A test repo to show off my low skills at git. Indeed this repo is to publicly shame myself until I learn and become git fluent. + + +### tips and tricks + +### striping out last local commit + +`git reset --soft HEAD~1` + +### changed the last pushed commit + +~~~ +git commit --amend +git push --force-with-lease +~~~