I see. I worked before with bitkeeper and I really liked the park/unpark feature. I guess I will need to cook a script to save the diff as a patch, restore the repo to clean state, pull and reapply the saved patch.
Thanks, Ovidiu
On Thu, Oct 7, 2010 at 10:11 AM, Jan Janak jan@ryngle.com wrote:
On Thu, Oct 7, 2010 at 9:49 AM, Ovidiu Sas osas@voipembedded.com wrote:
Hello all,
Sometimes, while doing coding on my local git repo, I would like to synchronize my local repo with the remote one but without commiting my changes. Is there a way to do this in a simple and elegant matter?
The synchronization in git works by the way of transferring commit objects, so no, I don't think so.
Also, your local uncomitted modifications are kept in files that you've checked out; remote/shared repositories are usually "bare", that means they have no checked out files. All they contain is the commit object database files (normally stored under .git).
-Jan