background preloader

Git

Facebook Twitter

Tutoriel vidéo Internet : Comprendre le versioning. Gérez vos codes source avec Git - IDE. L'identification automatique par clé - Linux. Il y a plusieurs façons de s'authentifier sur le serveur, pour qu'il sache que c'est bien vous. Les deux plus utilisées sont : l'authentification par mot de passe ;l'authentification par clés publique et privée du client. Pour le moment, nous avons vu uniquement l'authentification par mot de passe (le serveur vous demandait votre mot de passe). Il est possible d'éviter que l'on vous le demande à chaque fois grâce à une authentification spéciale par clé. Cette méthode d'authentification est plus complexe à mettre en place, mais elle est ensuite plus pratique. Je vais, là encore, distinguer les deux cas : vous essayez de vous connecter depuis une machine Linux ;vous essayez de vous connecter depuis une machine Windows (avec PuTTY).

Authentification par clé depuis Linux Pour mettre en marche ce mode d'authentification, nous allons d'abord devoir effectuer des opérations sur la machine du client, puis nous enverrons le résultat au serveur. Opérations sur la machine du client ssh-keygen -t rsa. Installer son propre serveur git avec Gitolite – Partie 3. J’ai déjà pas mal parlé de la configuration d’un serveur git auto-hébergé, ce type de solution permet de se passer de Github (ou BitBucket) pour héberger ses dépots privés. Lors de mon premier article, je n’avais pas voulu utiliser d’outil pour faire la configuration du serveur, mais après avoir beaucoup pratiqué gitolite au travail, j’ai décidé de migrer mes dépôts de la configuration standard vers gitolite et j’ai décidé d’en profiter pour faire l’article final de cette série… Cet article s’adresse aux personnes étant déjà à l’aise avec git. Je ne vais pas trop rentrer dans les détails techniques, si jamais vous ne comprenez pas tout, vous pouvez lire le Git Book les premières parties de la configuration d’un serveur git : Si vous êtes déjà à l’aise avec git, oubliez la première partie car Gitolite remplace parfaitement l’environnement mis en pace lors du premier article… Installation de gitolite $> adduser --system --shell /bin/bash --group --disabled-password --home /var/git git.

Gitolite documentation. Master TOC | main page | single-page | license This is for gitolite "g3"; for older (v2.x) documentation click here This is the master index for all gitolite documentation. The sequence is designed to go from background, to basics, to advanced, and then to more advanced topics. If you find this flow hard to follow, try these graphical overviews of the documentation: basic and advanced. Introduction (for older gitolite (v1 or v2) users)quick linkswhat is gitolite? Help for emergencies install/setup issues caused by sshlost admin key/accessbypassing gitolitecleaning out a botched installcommon errorsuncommon errorsnon-standard configs that'll trip you upthings that are not gitolite problems testing gitolite trying out gitolite quick install, setup, and clone install notes and naming conventionsrequirementsyour skillsserverclientgetting the softwarethe actual installupgradingpackaging gitolitemigrating from v2 setup clone (appendix: administer gitolite directly on the server) gitolite administration.

A successful Git branching model » nvie.com. Note of reflection (March 5, 2020)This model was conceived in 2010, now more than 10 years ago, and not very long after Git itself came into being. In those 10 years, git-flow (the branching model laid out in this article) has become hugely popular in many a software team to the point where people have started treating it like a standard of sorts — but unfortunately also as a dogma or panacea.During those 10 years, Git itself has taken the world by a storm, and the most popular type of software that is being developed with Git is shifting more towards web apps — at least in my filter bubble. Web apps are typically continuously delivered, not rolled back, and you don't have to support multiple versions of the software running in the wild.This is not the class of software that I had in mind when I wrote the blog post 10 years ago.

Why git? ¶ For a thorough discussion on the pros and cons of Git compared to centralized source code control systems, see the web. The main branches ¶ develop.