The process is simpler when using a recent git version (>=1.6.0). There is no more need to reset if you clone the repository with the mirror option.
git clone --mirror user@server:project.git
Then, you just need to fetch on a regular basis.
cd path/to/local/project.git && git fetch -q
<code>
<blockcode>
<apache>
<bash>
<perl>
<python>
<rails>
<ruby>
<sql>
<foo>
[foo]
Plus d'informations sur les options de formatage
With a recent version of git...
The process is simpler when using a recent git version (>=1.6.0). There is no more need to reset if you clone the repository with the mirror option.
Then, you just need to fetch on a regular basis.