So I decided to install the Windows version locally (I do web dev but also 
.NET dev, so seems circuitous to run it on unix for my .NET projects). 

For the web development work I'll just deploy it myself with FTP, but 
wanted to ask: is there any convenient way to have it build a directory 
structure for a subset of files, such as all the files in a branch?

For example: say I have this web server file structure

locally I modify only index.php and style.css

it would be nice if there was some way to "checkout" these files and have 
it build their file paths. In Visual Source Safe, it actually stores all 
your files in the VSS database. So you can delete you working copy, and 
checkout a few files, and it will write them to your working directory in 
their appropriate directory structures. Is there something like that in 
GIT? if so then I could just export the modifies files and upload the root 
folder (public_html) to the server

On Tuesday, September 11, 2012 4:33:54 AM UTC+9, Thomas Ferris Nicolaisen 
> On Monday, September 10, 2012 1:11:24 PM UTC+2, maxhodges wrote:
>> I'm new to Git (have never used it yet), and have a couple questions 
>> about basic install and config that I can't find clear answers to in the 
>> manual.
>> I want to use Git for version control of web site development files 
>> (html, css, php). Do I need to install it on my unix webserver? 
> This depends on how your deployment works. Some people copy stuff from 
> their own development machine to the webserver. Others build and distribute 
> a zip file to the server. If you want to use Git itself to distribute the 
> production code, you will need to install it on the webserver. Some example 
> approaches are documented here:
>> Or can I use the Windows version here on my desktop and manage/deploy the 
>> files to the web server?
> As above, if you prefer ftp'ing or scp'ing the files to the server, feel 
> free to do this, as you can use Git for revision control and still do 
> deplyment your own way.
>> If I must install it on the webserver, can I use the Windows GUI to 
>> checkout the files, or is my only choice to learn the commands and check 
>> files it and out using the command-line over SSH or something?
> This depends on the server you have. If it is some kind of remote machine 
> (Windows Server, etc), you can probably use a GUI. If it's some linux 
> machine, you'll probably have to stick to the command line via SSH.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to