How to keep uncommitted work in a git clone
Joshua Root
jmr at macports.org
Thu Nov 3 20:44:10 PDT 2016
On 2016-11-4 12:56 , Ryan Schmidt wrote:
> With Subversion, I was accustomed to keeping changes in my working copy that I was not ready to commit yet.
>
> Git doesn't let me do that. It complains and tells me to git stash and later git stash pop.
>
> Well, I tried that. I git stashed, then made changes to curl and committed them, and later when I tried to git stash pop, my other changes that I had in my git clone were not restored. I have no idea where they are now.
>
> I can get these particular changes back from my old Subversion working copy, but I don't understand how I'm meant to work with git when I have changes that I'm not ready to commit yet, yet there are other changes I need to make and commit elsewhere within that same clone.
Using autostash as discussed earlier works well for me:
<https://lists.macosforge.org/pipermail/macports-dev/2016-October/034452.html>
- Josh
More information about the macports-dev
mailing list