More Advanced Github Stuff

  1. Fork a Repo – This is useful for getting a copy of projects in an organization repo to your own repo. This way, you can make changes on your own repo (and basically create your own version of a project).
  2. Branching in a Repo – This is useful for trying multiple versions of code in one repo if you have an idea. Simply create a new branch to test it out, then merge it with your main branch when it is all done.
  3. Merging a pull request – Speaking of merging, to “merge” code together, you need to create a pull request and resolve conflicts (basically, if there are conflicting lines, you have to manually go into your code and adjust the lines so they can be put together).

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