Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Howto unstage Git files

User_YSH2CDec 9 2019 — edited Mar 5 2021

Hi All,

I have not been able to see where/how a staged change can be unstaged in sqldeveloper without losing the edits made.

I am aware of the "revert" operation, but this will unstage , and remove the edit's in my local file.

It is surprising to see a green "+" toolbar icon in the pending changes window , but no "-" ?. 

All other Git Tools have this feature to move a staged file out , but leave the filed content unchanged.

It seem the "Add" functionality does a stage, but the "revert" does an unstage as well as a "undo changes". 

I am forced to doing the unstage from the command line outside of sqldeveloper when trying to move files out of the stage area.

My suggestion here would be to add the "-" toolbar icon as well as a "unstage"  context menu item. Better still it would be good if the "add" is called "stage" instead , then the "unstage" would have the correct conextual meaning.

Does anyone know how this can be accomplished inside sqldeveloper.  All other tools have this feature ... even to the point of Drag&Drop to/from a stage window.

As I said previously I am aware how to do this with all other tools.

kind regards

Comments
Post Details
Added on Dec 9 2019
0 comments
461 views