Difference between revisions of "GitHub"

From Coder Merlin
Line 5: Line 5:
* [[W1005 Digital Journal]]
* [[W1005 Digital Journal]]
* [[W1006 Source Control]]
* [[W1006 Source Control]]
== Background ==
While using git locally is a wonderful way to track our revisions and enable us to rollback to previous versions, in order to take full advantage of git we'll use '''GitHub'''.  GitHub is a service where we can replicate (copy) our repository and collaborate with others.


== Introduction ==
== Introduction ==
While using git locally is a wonderful way to track our revisions and enable us to rollback to previous versions, in order to take full advantage of git we'll use '''GitHub'''.  GitHub is a service where we can replicate (copy) our repository and collaborate with others.


== GitHub ==
== GitHub ==

Revision as of 16:53, 14 July 2019

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
File:Octocat GitHub Mascot.png
Octocat GitHub Mascot

Prerequisites[edit]

Introduction[edit]

While using git locally is a wonderful way to track our revisions and enable us to rollback to previous versions, in order to take full advantage of git we'll use GitHub. GitHub is a service where we can replicate (copy) our repository and collaborate with others.

GitHub[edit]

Configuration[edit]

In order to use these commands with a remote repository, it's best to cache your credentials. On the command line, execute:

jane-williams@codermerlin:~$ git config --global credential.helper 'store --file ~/.git-credentials'

jane-williams@codermerlin:~$ git config --global credential.useHttpPath true

In order to squelch the warning that occurs while pushing, execute:

jane-williams@codermerlin:~$ git config --global push.default matching

Initialization[edit]

Key Concepts[edit]

Exercises[edit]

References[edit]