2013/1/30 Frédéric Camblor <[email protected]>:
> Hi folks !
>
> I recently aligned from git impl v1.6 to 1.8 and there seems to have a
> behaviour change between these 2 versions.
>
> I noticed when I call a checkIn(), following commands are executed :
> cd <root dir> && git status --porcelain
> cd <root dir> && git commit --verbose -F <path to tmp commit file> -a
> cd <root dir> && git symbolic-ref HEAD
> cd <root dir> && git push [email protected]:fcamblor/myrepo.git master:master
>
> The latest command pushes changes on the server, but it doesn't update my
> local origin/master branch (remote "origin" is not used, I suppose that
> this is the reason why remote branch is not updated locally during the
> push).
>
> Would there be a workaround, either allowing to use "origin" (instead of
> "[email protected]:fcamblor/myrepo.git") in the git push command _or_ allow to
> execute some sort of a *git fetch origin master* by using gitexe scm API
> (or, better, generic SCM API) ?
as it's done currently the scm url is always used (no way to use origin).
and update command use pull (not fetch).

Patch or pull request welcome :-)
sources are now here: https://git-wip-us.apache.org/repos/asf?p=maven-scm.git

>
> Thanks in advance,
>
> Frédéric Camblor  <http://fcamblor.wordpress.com/>
> <http://www.twitter.com/fcamblor>
> Bordeaux JUG <http://bordeauxjug.org/> Leader
> Jenkins <http://jenkins-ci.org/> community member & plugin commiter



--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to