Skip to content

Instantly share code, notes, and snippets.

@tomsihap
Last active June 26, 2019 08:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomsihap/8dac92514a0df6ee710672934d06a8d6 to your computer and use it in GitHub Desktop.
Save tomsihap/8dac92514a0df6ee710672934d06a8d6 to your computer and use it in GitHub Desktop.
Git tuto
  1. Créer le repository sur Github
  2. Créer le dossier sur le PC
  3. OUVRIR LE DOSSIER avec VSCode (ET PAS UN DOSSIER PARENT)
  4. Ouvrir une console et taper : git init git remote add origin [****] // Attention, prenez cette ligne depuis la page du repository sur Github

4bis. Si vous travaillez avec Composer, ajoutez un fichier .gitignore contenant /vendor

  1. Commencer à travailler
  2. Une fois terminé, ouvrez l'onglet Git de VSCode et committez
  3. Pensez à appuyer sur le bouton en bas à gauche (soit un "0/1", soit un nuage...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment