FORKIT.md new branche

This commit is contained in:
vincent_b
2024-11-19 20:19:18 +01:00
parent 4944e2f1a9
commit 8984de22ea
2 changed files with 45 additions and 15 deletions

1
FORKIT.md Normal file
View File

@@ -0,0 +1 @@
Test FORK_BRANCH, branche "forkit"

View File

@@ -69,22 +69,20 @@ Un code long qui donne certaines autorisations ( par exemple pour pull/push/comm
PAGE du PROJET -> GAUCHE PAGE du PROJET -> GAUCHE
-> Settings > Access Token -> Settings > Access Token
--> Add New Token (boutton gris) --> Add New Token (boutton gris)
--- Token name --- Token name ...
--- Select a role -> Owner --- Select a role -> Owner
-- Select scopes --> -- Select scopes -->
---- read_repository ---- read_repository (pull)
---- write_repository ---- write_repository (push)
Vérfier / Révoquer les acces :
--
Vérfier :
--> GOTO : https://gitlab.com/-/profile/preferences --> GOTO : https://gitlab.com/-/profile/preferences
. . . . . .
FORK PROJET FORK PROJET
PAGE D'exemple : PAGE d'exemple :
https://gitlab.com/pages/plain-html https://gitlab.com/pages/plain-html
On clic "Fork" On clic "Fork"
@@ -133,17 +131,48 @@ DEPUIS CET IDE, on va pouvoir sauvegarder l'état d'avancement du projet en util
. . . ) . . . )
Les IDE proposent d'envoyer ces commandes Git sans utiliser de terminal : Les IDE proposent d'envoyer ces commandes Git sans utiliser de terminal :
via leur GUI ( Graphical User Interface)... via leur GUI ( Graphical User Interface )...
en appuyant sur des bouttons visuels ! en appuyant sur des bouttons visuels !
- Ils donnent à voir l'état actuel du projet dans un Historique + Graph...
Ils donnent à voir l'état actuel du projet dans un Historique + Graph...
Ils permettent... Ils permettent...
d'ajouter les dernières modifications : "> git add *" - d'ajouter les dernières modifications : "> git add *"
De Commit ( sauvegarder avec un titre ) "> git commit" ... - de Commit ( sauvegarder avec un titre ) "> git commit" ...
... en toute simplicité ! ... en toute simplicité !
... mais pour apprendre il est bien de se familiariser avec les lignes de commande... ... mais pour apprendre il est bien de se familiariser avec les lignes de commande...
... de passer du temps via le terminal ! ... de passer du temps via le terminal !
... ainsi on comprend ce qui se passe "derière" quand on clic les boutons
... ( quelles commandes sont envoyées )
- Git - Git dans Bash
↳ https://git-scm.com/book/fr/v2/Annexe-A:-Git-dans-d%e2%80%99autres-environnements-Git-dans-Bash
- Git - Git dans IntelliJ / PyCharm / WebStorm / PhpStorm / RubyMine
↳ https://git-scm.com/book/fr/v2/Annexe-A:-Git-dans-d%e2%80%99autres-environnements-Git-dans-IntelliJ-/-PyCharm-/-WebStorm-/ -PhpStorm-/-RubyMine
- Git - Git dans Visual Studio Code
↳ https://git-scm.com/book/fr/v2/Annexe-A:-Git-dans-d%e2%80%99autres-environnements-Git-dans-Visual-Studio-Code
---
CHECKOUT
Changer de branche
TUTO https://git-scm.com/book/fr/v2/Les-branches-avec-Git-Gestion-des-branches
Ajouter un fichier (ou tous *)
> git add ./README.md
> git add *
Etat des fichiers :
> git status
voir les branches ( locales + distantes )
> git branch --all
voir l'historique
> git log --pretty=format:"%h %s" --graph
--- ---