Re: [git-users] Git error on push : refusing to update checked out branch

2014-05-06 Thread Benjamin Fontaine


 Thanks for your replies, obviously I'm a beginner coming from svn
 and I've haven't found short  efficient tutorial at this time ( in my 
 opinion, my free time being very rare )

 Things I've gotta do today :

 1) git init -bare in /home/git
 2) Add /home/www files *.php does not seem to include recursive one ( 
 btw these are remote files, will this work ? )
 3) Clone on my localhost, checkout, commit, push
 4) How to Post-commit like svn ? Making each push on bare repo pushing 
 files onto real destination 


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Git error on push : refusing to update checked out branch

2014-05-06 Thread Benjamin Fontaine
Thanks for your replies, obviously I'm a beginner coming from svn
and I've haven't found short  efficient tutorial at this time ( in my 
opinion, my free time being very rare )

Things I've gotta do today :

1) git init -bare in /home/git
2) Add /home/www files *.php does not seem to include recursive one ( btw 
these are remote files, will this work ? )
3) Clone on my localhost, checkout, commit, push
4) Home to Post-commit like svn ? Making each push on bare repo pushing 
files onto real destination ?

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Git error on push : refusing to update checked out branch

2014-05-06 Thread Benjamin Fontaine
Found out with searches the command work from localhost to server 

 git push --set-upstream origin master

gets stuck on total : 1815 (delta) etc .. 

+ post-update hook and guess yeah, it works, thanks !

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Git error on push : refusing to update checked out branch

2014-05-06 Thread Benjamin Fontaine


 Found out with searches the command work from localhost to server 

 git push --set-upstream origin master

 + post-update hook and guess yeah, it works, thanks !


Finally, I just wanted ( since the start ) to get these commands  
post-update hook location to get it working

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Git error on push : refusing to update checked out branch

2014-05-04 Thread Benjamin Fontaine


Hello and thanks for this group
I'm new to Git ( I was asked to learn it in my last job interviews, and 
I've configured it this far .. )
Master on my webserver, did a clone, put both to branch ben,  did commit, 
and then the push fails

http://i.snag.gy/0cyzW.jpg

Any ideas ? 
Thank in advance for further comments

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.