added some tips and tricks

This commit is contained in:
didier amyot committed 2015-05-26 21:38:51 -04:00
1 parent 4c58f8abec
commit 2879029cf9
1 file changed
+14
+14
View File
@@ -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
~~~