nbrendah edited a comment on pull request #3809:
URL: https://github.com/apache/activemq-artemis/pull/3809#issuecomment-949616073


   > You should probably squash all your changes Into a single commit.
   
   @somdatta8172 The workflow i personally use.  If its wrong, then, it will be 
an honor seeing recommendations 
   ```
   git pull --rebase origin <branch_name>  # get all commits pushed on 
<branch_name> locally
   git log --oneline  # To confirm that the commits are present 
   git rebase -i HEAD~6  # number of commits you have on your branch on upstream
   ````
   replace `pick` with `squash` from bottom to top, leaving out the first.  If 
you feel like deleting some commit, the replace `pick` with `drop`
   
   After a message `rebase successful`, or its equivalent,
   git push -f origin <branch_name>`
   
   Best wishes this
   Brendah


-- 
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