Add comment on the cleanup spam section
authorhttp://k1024.org/~iusty/ <Iustin_Pop@web>
Sun, 29 Aug 2010 21:59:36 +0000 (21:59 +0000)
committerJoey Hess <joey@kitenet.net>
Sun, 29 Aug 2010 21:59:36 +0000 (21:59 +0000)
doc/tips/spam_and_softwaresites/discussion.mdwn [new file with mode: 0644]

diff --git a/doc/tips/spam_and_softwaresites/discussion.mdwn b/doc/tips/spam_and_softwaresites/discussion.mdwn
new file mode 100644 (file)
index 0000000..21f0a5d
--- /dev/null
@@ -0,0 +1,8 @@
+In the cleanup spam section:
+
+> Caveat: if there are no commits you want to keep (i.e. all the commits since the last merge into master are either spam or spam reverts) then git rebase will abort.
+
+Wouldn't it be enough then to use `git reset --hard` to the desired last good commit?
+
+regards,
+iustin