Commits that change formatting are a pain in git because they make using git blame much harder. It turns out, you can ask git to ignore these commits when running git blame with the --ignore-rev option and passing it a commit hash. You can even do things better and create …
You probably already wanted to have your own test environment to allow others in the company to tests what you did. Perhaps you have a common one, but as your team is growing, it is probable that the common environment is a bottleneck and you wish each developer could have …
I am a contributor to nbpython the netbeans plugin for python. Since the DCVS used is mercurial and I have almost exclusively used git before I add to adapt my workflow to work properly.
Récemment, j'ai eu besoin de fusionner deux dépôts en un seul. Ça se fait plutôt bien. Voilà la procédure :
# On clone les dépots
gitcloneprojet1gitcloneprojet2cdprojet1# On ajoute le projet2 comme source dans le projet1
gitremoteaddprojet2../projet2gitfetchprojet2# On liste …
Depuis pas mal de temps, je gère les fichiers de conf de mon home avec git, notamment ma conf emacs et mon dossier bin. L'intérêt étant à la fois de pouvoir partager les configurations entre plusieurs ordinateurs, de pouvoir revenir en arrière en cas de besoin et de voir l'historique …
Récemment j'ai mis l'install Drupal du projet multi assos sous git (vous pouvez aussi utiliser un autre DVCS si vous voulez). Voilà mon petit compte rendu.
Intérêt
La première question que vous vous poserez sûrement est pourquoi placer Drupal sous git ? Parce que c'est utile. Cela :