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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to