GoConqr has a new look! Let us know what you think.

Flashcards

GIT Basics

Julz G 1GIT English 8 cards

Cards in this deck (8)

  1. 1Name 2 ways of making a GIT repo- Clone a existing repo from a remote source
    - turn a local repo into a git repo
  2. 2How do you clone a GIT repo ?git clone
    eg: git clone https://github.com/repo/repo
  3. 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"
  4. 4How do you check the file status ?$ git status
  5. 5What is stored in the .gitignore file ?log files
    build files
    api keys
    environment files
  6. 6How to remove a file from tracking ?$ git rm
  7. 7How do you check the commit history of a file ?$ git log
  8. 8GIT log options$ git log --pretty=oneline
    $ git log -- pretty=format:"%h : %s"

Information

Description
1GIT (GIT & GIT basics) Flashcards on GIT Basics, created by Julz G on 17/06/2019.
Created by
Julz G
Views
1
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?