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) ?

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

Reply via email to