So I should have two repository, one is on and second is, right? After I make some changes in code I push this file to and if everything is ok I push them again to the, yes?

How can I push them from my laptop with Win7 on my Debian server?

W dniu sobota, 20 września 2014 11:23:07 UTC+2 użytkownik 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, August 30, 2014 8:36:01 PM UTC+1, Artur Gabryś wrote:
>> Hi,
>> I would like to use Git while working on my website. Here's how it looks 
>> in my case:
>> - I have a dedicated server
>> - I have a website
>> - I have a copy of this website at, I'm testing my 
>> changes at this test url. If everything is ok i send changed files to 
>> - I work on my local laptop
>> It's very time consuming and the biggest problem is when I made changes 
>> and after couple of days I need to return to previous version of the file. 
>> I need to have version control software.
>> I want to work with my website on my laptop, after saving files (or 
>> automatically during) they should be push to the and if 
>> everything would work OK I would copy file to
>> I don't understand how you should work with Git? Well I do but I think 
>> it's not right. Ok you make some changes to file (or someone else) and it's 
>> push to ? what if you made mistake in code and 
>> will crash? there have to be something in the middle, before user of your 
>> website will see your changes, right?
>> Best regards,
>> Artur

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 
For more options, visit

Reply via email to