Karteikarten
GIT Basics
Karten in diesem Stapel (8)
- 1Name 2 ways of making a GIT repo- Clone a existing repo from a remote source
- turn a local repo into a git repo - 2How do you clone a GIT repo ?git clone
eg: git clone https://github.com/repo/repo - 3How do you turn a local repo into a git repo?go to folder of project in terminal
$ git init
$ git add *
$ git commit -m "first commit" - 4How do you check the file status ?$ git status
- 5What is stored in the .gitignore file ?log files
build files
api keys
environment files - 6How to remove a file from tracking ?$ git rm
- 7How do you check the commit history of a file ?$ git log
- 8GIT log options$ git log --pretty=oneline
$ git log -- pretty=format:"%h : %s"
Informationen
- Beschreibung
- 1GIT (GIT & GIT basics) Karteikarten am GIT Basics, erstellt von Julz G am 17/06/2019.
- Erstellt von
- Julz G
- Aufrufe
- 1
- Bewertung