Articles tagged with git
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 …
Read more...
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 …
Read more...
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.
What I want to do:
Lire la suite…
This pages provides all gitips I have collected.
Read more...
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
git clone projet1
git clone projet2
cd projet1
# On ajoute le projet2 comme source dans le projet1
git remote add projet2 ../projet2
git fetch projet2
# On liste …
Lire la suite…
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 …
Lire la suite…
git est tout à fait capable de gérer plusieurs dépôt distant. Voilà comment en ajouter un.
Lire la suite…
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 :
Lire la suite…