GIT - Visual Studio - Recover changes UN-STAGED during MERGE.
Hi,
I am new to GIT and so need a little help using GIT in Visual Studio 2015.
I have 3 branches DEV, PRE-PROD and PROD. I have made 4 COMMITS in DEV branch. The COMMITS have also been PUSHed into DEV branch.
When I give a MERGE request from DEV to PRE-PROD, I can see all the code changes from the 4 COMMITS. All the changes are mentioned as STAGED.
I am able to UNSTAGE the unnecessary changes and COMMIT the necessary changes into PRE-PROD branch. The MERGE becomes successful.
However, the UNSTAGED changes are lost. I am not able to recover the UN-STAGED changes.
REQUIREMENT:
I need all my previous UNSTAGED changes When I do the next MERGE from DEV to PRE-PROD.
Visual Studio is my MERGE tool and I have not installed any 3rd party tools .
I do not have any access to install any 3rd party tools.
Any help to achieve the above requirement is welcome..!!