mbien commented on PR #5391:
URL: https://github.com/apache/netbeans/pull/5391#issuecomment-1409614007

   > Hello again I think is fine now but how am I supposed to update the file 
and how I force my pull request?
   
   you have now two commits, I think the easiest option in this particular case 
is to remove the last commit again with:
   
   ```
   git reset HEAD^
   ```
   This will only remove the commit, the changes you made will remain in the 
source code.
   
   Now you can simply commit with NetBeans again but check the `Amend last 
Commit` checkbox, this will add the changes to the first commit, instead of 
creating a second one again - basically updating the commit.
   
   To replace the remote `delivery` branch with your local `delivery` branch 
you type in a console:
   ```
   git push -f [email protected]:johntor/netbeans delivery:delivery
   ```
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to