Skip to the content.

Documentation Git, GitHub, GitLab et autres outils basés sur Git

Règles

lien, raccourci clavier et phrase de demande de saisie

commande, extrait code et extrait de fichier

Table des matières


Installation

Installation de Git sur Ubuntu Desktop et Debian

Installation de Git sur Windows 10 et 11

Configuration

Configuration pour Linux et Windows

Liaison avec Github sur Linux et Windows

Utilisation

Utilisation de plusieurs comptes Github sur le même ordinateur - Ubuntu

La documentation ci-dessous utilise deux comptes Github, avec deux clés SSH différentes, mais vous pouvez l’adapter pour autant de comptes que vous voulez.

Configuration pour Git

Configuration pour SSH et Github

Remplacer la branch master par une autre branch

Mise en attente de changements

Retourner à un commit précédent

Attention, cette commande est dangereuse, elle va supprimer tous l’historique des commits après le commit que vous avez choisi.

Création d’un workflow Github pour Laravel

Erreur

Erreur d’authentification HTTPS

Erreur le nom gitbug.com ne peut pas être résolu

Licence

doc_git.md

Copyright (C) 2024 Floris Robart

Authors: Floris Robart

This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.