The quickest and easiest “Getting Started w/ GitHub” article you’ll ever read!

Quick Overview

  • Read “The Most Official and Complete Introduction on GitHub – Ever Written”
  • Read “What 80% of People Do On GitHub”
  • Download and Configure GitExentions in 5 Clicks
  • Read “Use GitHub Like 80% of People”

 

The Most Official and Complete Introduction on GitHub – Ever Written

GitHub – A website to store and share code

  • Repository – Where code is stored. Either, on GitHub or local machine – they are like folders.
  • Clone – Transfer a repository, typically on GitHub, to your local machine – better than FTP
  • Commit – Confirm code changes to a local repository – the ultimate CTRL + S
  • Push – Upload your committed code changes to GitHub – again, arguably better than FTP
  • Fork – Make a copy of someone else’s GitHub repository – stored under your GitHub account
  • Pull Request – Make code changes to a forked repository then request the code changes be pulled into the original repository!
  • Pull – Download the latest code changes to the original repository to your local machine

 

What 80% of People Do On GitHub

  • Fork a repository
  • Clone the forked repository to local machine
  • Make code changes
  • Add code
  • Commit the code changes, locally
  • Push local code changes to GitHub
  • Submit Pull Request to have code changes, on GitHub, added to the original repository
  • Rinse
  • Repeat

 

Download and Configure GitExtensions in 5 Clicks

  • Download and Install GitExentions (includes w/ MsysGit and Kdiff)
    install_2
  • Repair your “username” and “email address”
    2012-01-18_231633

Use GitHub Like 80% of People

  • Fork a repository
    fork_1
  • Configure GitExtensions for cloning
    clone
  • Enter GitHub username, password and API key
    api
    api_key
  • Clone a repository
    Note: GitExtensions automatically suggests a Remote name. Use this remote name to pull (download) the latest code changes from the original repository
    repo_selection
  • Commit code changes
    open
    commit
    commit_2
  • Push (upload) changes to GitHub
    push
  • Submit a Pull Request
    pull_request
10 Comments