[git-users] Re: Starting with GIT, need some info

2014-10-03 Thread Artur Gabryƛ
So I should have two repository, one is on test.domain.com and second is domain.com, right? After I make some changes in code I push this file to test.domain.com and if everything is ok I push them again to the domain.com, yes? How can I push them from my laptop with Win7 on my Debian server?

[git-users] Re: Starting with GIT, need some info

2014-09-20 Thread Tom Hopcraft
You do not want to push on save of files. You need to complete your changes and then add, commit and push them. You also want 2 remotes. So you push to the testing remote. Check the files are ok and then you push to the live remote. Not push to testing which auto pushes to live. On Saturday, A