Git basics

Derek Johnson
September 10, 2015

Git basics

Slides from an internal workshop for new staff

Derek Johnson

September 10, 2015

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

24 slides
  1. ls -lah View all files and folders in a human

    friendly format with extra info.
  2. Untracked files: (use "git add <file>..." to include in what

    will be committed) README.md nothing added to commit but untracked files present (use "git add" to track)
  3. Changes not staged for commit: (use "git add <file>..." to

    update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: README.md no changes added to commit (use "git add" and/ or "git commit -a")
  4. Untracked files: (use "git add <file>..." to include in what

    will be committed) README.md nothing added to commit but untracked files present (use "git add" to track)
  5. Changes not staged for commit: (use "git add <file>..." to

    update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: README.md no changes added to commit (use "git add" and/ or "git commit -a")

More Decks by Derek Johnson

Other Decks in Technology