[sr-dev] git: updating local git repo while pending changes

Alex Balashov abalashov at evaristesys.com
Thu Oct 7 18:31:12 CEST 2010


On 10/07/2010 10:11 AM, Jan Janak wrote:
> On Thu, Oct 7, 2010 at 9:49 AM, Ovidiu Sas<osas at 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).

Why not git pull --rebase?

-- 
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/



More information about the sr-dev mailing list