$ cd /home/site.name/
$ git clone giturl www
see
$ git help clone
On Saturday, March 23, 2013 12:52:45 PM UTC+1, Denis Porplenko wrote:
I am doing a project in the local environment Denwer
My local sites in the folder / home / site.name / www /
Inside the folder www must be project file.
lets create a new git repo
$ mkdir testRepo
$ cd testRepo
$ mkdir dirWithOnlyIgnoredFiles
$ touch dirWithOnlyIgnoredFiles/foo.log
$ touch test.txt
$ touch main.log
$ git init
now lets ignore the log files
$ echo '*.log' .gitignore
stage all non-ignored files and creat a commit
$ git add .
De Vlieger wrote:
lets create a new git repo
$ mkdir testRepo
$ cd testRepo
$ mkdir dirWithOnlyIgnoredFiles
$ touch dirWithOnlyIgnoredFiles/foo.**log
$ touch test.txt
$ touch main.log
$ git init
now lets ignore the log files
$ echo '*.log' .gitignore
stage all non-ignored files