Difference between revisions of "Getting Started w/ Github"

From AstroBaki
Jump to navigationJump to search
Line 1: Line 1:
 
== Creating a Github Repository ==
 
== Creating a Github Repository ==
  
If you don't have a github account that's where you'll need to start. You can get started setting up your account by going to [https://github.com/ github.com].
+
If you don't have a github account that's where you'll need to start. You can get started setting up your account by going to [https://github.com/ github.com] and log-in using an email. Github has special benefits for students so if possible, use your school email.
 +
 
 
<source lang="bash">
 
<source lang="bash">
 
git help {command}
 
git help {command}
 +
</source>
 +
 +
== Adding Code/Data ==
 +
<source lang="bash">
 +
git add {file}
 +
</source>
 +
 +
<source lang="bash">
 +
git add .
 
</source>
 
</source>

Revision as of 10:59, 26 January 2021

Creating a Github Repository

If you don't have a github account that's where you'll need to start. You can get started setting up your account by going to github.com and log-in using an email. Github has special benefits for students so if possible, use your school email.

git help {command}

Adding Code/Data

git add {file}
git add .