# **PRESENTATION VEILLE GIT - ETEIB / FRANK** # **Voici des liens utiles:** https://git-scm.com/docs/git-notes https://www.pierre-giraud.com/git-github-apprendre-cours/ https://training.github.com/downloads/fr/github-git-cheat-sheet.pdf https://view.genial.ly/6541083c41410000123120aa/interactive-content-code-quiz # **Les commandes à suivre:** > BINOME 1 **en local sur votre machine** Creer un repertoire: veille-git-github.git Creer un fichier: file.txt Ecrire "hello world" dans le fichier fich.txt **dans gitbash:** git add git status git commit -m "hello hugo" git branch -M main git remote add origin https://github.com/"MON_NOM_D'UTILSATEUR"/veille-git-github.git git push -u origin main touch .gitignore touch system.o touch header.h **en local sur votre machine ** Allez dans votre fichier .gitignore et placez vos fichiers system.o et header.h **dans gitbash** git status git commit -m "add .gitignore" git push - **BINOME 2** git clone https://github.com/"MON_NOM_D'UTILSATEUR"/veille-git-github.git - **BINOME 1** Dans GITHUB Allez dans "collaborator" Ajoutez son "username" - **BINOME 2** Validation par mail ou dans GITHUB - **BINOME 1** Modifiez le fichier file.txt avec un message sympa Retournez sur gitbash git add file.txt git commit -m "fichier modifié" git push - **BINOME 2** git pull
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up