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

Flashcards

git

jlab Informatik German 9 cards

Cards in this deck (9)

  1. 1compare changes from current and last commitgit diff HEAD^ HEAD
  2. 2show branches: 1. local 2. local + remote 3. remote1. git branch
    2. git -a branch
    3. git -r branch
  3. 3Git push: What's the option to tell git push to remeber the parameters, so next time just 'git push' is sufficient?-u
    Example: git push -u origin master
  4. 4Commandt to add a remote repository? What's the meaning of the two parameters?git remote add
    1st parameter: remote name
    2nd parameter: remote URL
    Example: git remote add origin https://github...
  5. 5Add all new files that end with .txt to the staging area.git add '*.txt'
  6. 6Unstage file my.txtgit reset my.txt
  7. 7Checkout and branch branch 'mybranch' at the same timegit checkout -b mybranch
  8. 8Remove files that end with '.txt' from disk and stage their removal.git rm '*.txt'
  9. 9Delete branch 'mybranch'git branch -d mybranch

Information

Description
Informatik Flashcards on git, created by jlab on 27/06/2014.
Created by
jlab · Jun 2014
Updated
Feb 19, 2016
Views
21
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?