Skip to content

GitHub things

Will Pearse edited this page Jun 22, 2017 · 1 revision

Helpful GitHub commands & links

Many of these things might be familiar to you, but I figured it might be useful to have everything in one place.

The Basics

  • From Will's master repository, click the "fork" button in the upper right hand of the screen to create your own fork of NaTDB

  • Cloning your new repository is easy!

      git clone https://github.com/yourUserName/natdb.git
    
  • Once you've cloned the NaTDB repository to your computer, you'll need to be frequently committing and pushing your edits:

      git commit -am "message about commit"
      git push
    
  • You can also use git status to see what needs to be committed or pushed.

  • Other useful commands include:

      git add filename
    

Merging Repositories

Remember: when in doubt, ask the Google machine, then ask a person