Supprimer user name Emilie.txt
This commit is contained in:
parent
206c5f1ae0
commit
15fc3e3b19
1 changed files with 0 additions and 39 deletions
|
|
@ -1,39 +0,0 @@
|
|||
user name Emilie
|
||||
email emilie.montaigu@gmail.com 2E88-136D
|
||||
|
||||
sur GitHub emiliemontaigu avec google
|
||||
|
||||
winget install --id GitHub.cli
|
||||
winget install --id Git.Git
|
||||
git --version
|
||||
git config --global user.name "Emilie"
|
||||
git config --global user.email "emilie.montaigu@gmail.com"
|
||||
gh --version
|
||||
gh auth login GitHub.com HTTPS
|
||||
|
||||
mkdir test_git
|
||||
cd test_git
|
||||
git init
|
||||
echo "Hello Git" > test.txt
|
||||
git add test.txt ou git add --all
|
||||
git commit -m "Premier commit"
|
||||
|
||||
git log ou git log --oneline --all --graph HISTORIQUE
|
||||
git show 9a3b5f2 Voir le contenu d’un commit
|
||||
git status Voir l’état actuel
|
||||
|
||||
echo "Deuxième ligne" >> test.txt
|
||||
git add test.txt
|
||||
git commit -m "Ajout d'une deuxième ligne"
|
||||
|
||||
git log --oneline
|
||||
git show 9a3b5f2 Voir une ancienne version sans la modifier
|
||||
git checkout 9a3b5f2 Revenir temporairement à un commit (mode "visite du passé")
|
||||
git switch master Revenir au présent
|
||||
git reset --hard 9a3b5f2 Revenir définitivement à une ancienne version
|
||||
|
||||
|
||||
Créer une branche
|
||||
git branch nouvelle_fonction
|
||||
git checkout nouvelle_fonction
|
||||
ou git switch -c nouvelle_fonction
|
||||
Loading…
Reference in a new issue