Re: [git-users] git pull origin branch

2011-08-21 Thread PJ Weisberg
On Sunday, August 21, 2011, Mark Liversedge wrote: > Hi, > Dumb question. I'm working on a branch locally that is also over at github. I fetch the latest from github with: > Make sure I'm clean > $ git checkout branch > $ git reset --hard origin/branch > $ git pull origin branch > Make changes and

[git-users] git pull origin branch

2011-08-21 Thread Mark Liversedge
Hi, Dumb question. I'm working on a branch locally that is also over at github. I fetch the latest from github with: Make sure I'm clean $ git checkout branch $ git reset --hard origin/branch $ git pull origin branch Make changes and commit then $ git push origin branch But when I pull other f

Re: [git-users] How to define commit policy

2011-08-21 Thread Phlip
Pankaj Gupta wrote: > When user commit in git repo. we would like certain checks to be done. > How can that be achieved. I never use git raw; I always wrap it with fabric. So fab pull trivially calls git pull, but fab ci:'comment' calls all our unit tests, then only calls git commit -am'message'