Let's say I have a local repo and made some changes - some were added to the index while some were only tracked but left in the workspace without being added to index.
If I were to stash the changes, keep working (after stashing) on the same branch and then git-apply before adding or committing the changes that were made after the stash.
How would git process the "apply" ? is apply = apply + try to merge ?
What does git do internally when applying a stash into the repo ?
Should we always commit or stash our changes before applying other stashed changes into same branch ?
Thanks !
You can’t use
git stash applyin this case, sincehttps://git-scm.com/docs/git-stash