To allow GIT to use SSL connections with a private certificte env GIT_SSL_NO_VERIFY=true git clone https://www.example.com/private…
Pages
Categories
Archives
To allow GIT to use SSL connections with a private certificte env GIT_SSL_NO_VERIFY=true git clone https://www.example.com/private…
My current GIT ignore file for xcode4 projects .DS_Store *.swp *~.nib build/ *.pbxuser *.perspective *.perspectivev3 *.xcodeproj/xcuserdata/* *.xcodeproj/project.xcworkspace/xcuserdata/*
My current GIT ignore file for symfony2 projects: # symfony files .DS_Store vendor/* app/cache/* app/logs/* *~ # config files to ignore app/config/parameters.ini # eclipse PDT files .buildpath .project .settings
You can turn the .git/info/exclude on its head to only include certain files / directories. Start by excluding everything, then negating the succeeding rules. * !foo.* !bar
In your git config file add the following [hooks] mailinglist = user@domain.com and in the hooks/post-receive file: . /usr/share/doc/git-core/contrib/hooks/post-receive-email (for Ubuntu 9.10)
Set up a remote Git repositiory to automatically checkout to a working tree after a git push command. Useful for the auto deployment of web site files on a web server. Create a bare GIT repository: mkdir project.git && cd project.git git init –bare Create a detached work tree: mkdir /home/user/myproject git config core.worktree /home/user/myproject [...]
This is my general Git exclude file for Symfony projects developed with Eclipse. .DS_Store /cache/* /log/* /.settings /.project /.buildpath
Quick list of the Git commands. On the remote server: $ mkdir /home/scm/app.git $ cd /home/scm/app.git $ git –bare init On your local Git repository: $ git remote add origin ssh://domain.com/home/git/app.git $ git push origin master Useful commands: git config –add hooks.mailinglist "mail@domain.org"