You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2021/10/25 16:46:52 UTC
[GitHub] [activemq-artemis] haanhvu commented on pull request #3810: Artemis 3538 Removing // --------- comments from the codebase
haanhvu commented on pull request #3810:
URL: https://github.com/apache/activemq-artemis/pull/3810#issuecomment-951111496
hi @Asukwo-comfort
you asked me on Slack about how to squash commits. If you squashed and lost your changes, then probably you used the git reset --hard command
to squash without losing changes, the command I often use is `git reset --soft HEAD~n` (n is the number of commits you want to squash, in your case, n=3).
just use that command and commit again, you'll see all your commits are squashed into the latest commit
ping me if you need more clarification
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org