[
https://issues.apache.org/jira/browse/NETBEANS-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16665237#comment-16665237
]
Christian Lenz commented on NETBEANS-1554:
------------------------------------------
The code, to change is in a more generic module: .\ide\versioning.util inside
of the package: org.netbeans.modules.versioning.util.common, in file
VCSCommitPanel.java. So chaning this, means adding a new button called Commit
and Push, but I don't know the logic exact to have it then in SVN and Mercurial
too.
> Add push force support
> ----------------------
>
> Key: NETBEANS-1554
> URL: https://issues.apache.org/jira/browse/NETBEANS-1554
> Project: NetBeans
> Issue Type: New Feature
> Components: versioncontrol - Git
> Affects Versions: Next
> Reporter: Christian Lenz
> Priority: Major
>
> From the author of the external ticket:
> {quote}
> One of the main use cases for reset hard is to be able to push --force after
> it.
> Use case: a github repo R2 is a fork of repo R1. R1 moves forward and R2's
> latest commit needs to be discarded before merging R1. The workflow is to
> reset --hard R2 to the previous commit and push force it before merging R1.
> reset --hard works, push --force is not possible from the IDE.
> {quote}
> This is really the same use case that I have. I can't push because NB says we
> have things to pull first. Now I have to do a push --force with console.
> Please add this missing feature.
> Cheers
> Chris
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
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