Difference between revisions of "GitHub"
From Coder Merlin
(Created page with "thumb|Octocat GitHub Mascot == Prerequisites == * W1002 The Client, the Server, and the Shell * W1004 Emacs * W1005 Digital Journa...") |
|||
Line 6: | Line 6: | ||
* [[W1006 Source Control]] | * [[W1006 Source Control]] | ||
== Background == | == 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 == | ||
Revision as of 16:46, 14 July 2019
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
Prerequisites[edit]
Background[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.
Introduction[edit]
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