Skip to content

Duke-HC-Mobile-Apps-Web/git-intro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 

Repository files navigation

Git-Intro

A git intro lesson

##Assignment

Start with this interactive git tutorial. Come back to this page after you've finished.

Follow along here, courtesy of Learn, but note these important differences:

  • Instead of going to the first-lab-000 repo, go to the url for this git intro assignment: https://github.com/Duke-HC-Mobile-Apps-Web/Git-Intro
  • When cloning the repository, ignore the instruction telling you to use the SSH url. Please use the HTTPS one that you'll see in your forked repository
  • The video walks through adding several files to the repo, we'd like you to only add one .txt file. If you've added others, look at the git rm command
    • It should be titled with your name firstName_lastName.txt and should include:
      • Your year and major
      • Your favorite programming language/s
  • Make sure you follow the instructions for sending a pull request back to this repo, that's the most important part!

##Alternate For a text and image version of this assignment (instead of a video): https://github.com/learn-co-students/enough-git-for-learn-co-001-prework-web/blob/master/README.md

##Topics covered

  1. Forking a repository GitHub.
  2. git clone to clone a repository to your local computer.
  3. git status to see the status of your locally cloned git repository.
  4. git add . to add your local changes to be committed.
  5. git commit -am "Commit Message" to commit changes that have been added with a message.
  6. git push to upload your local changes to GitHub.
  7. Opening a Pull Request on GitHub.

##Further Learning http://git-scm.com/book/en/Getting-Started-About-Version-Control
https://help.github.com/articles/set-up-git

About

A git intro lesson

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published