Basics of Github

  1. Download git for your computer here.
  2. Make a Github account here.
  3. Review basic pushing and pulling here OR review the instructions below.
    1. Make a folder where you want to keep the files
    2. Navigate to the folder using the “cd” command
    3. Initialize a repository: “git init”
    4. Add the origin: “git remote add origin [unique URL]”
    5. To get all the files: “git pull origin master”
    6. After making a change, to change the files online:
    7. “git add [filename]” (note: if you want to add everything, just use . )
    8. “git commit -m “Insert message here”
    9. “git push origin master”

       

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s