Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed GitHub Basics!
You have completed GitHub Basics!
Preview
Go in-depth with some of GitHubs most essential features, which are the backbone of open source on GitHub.
Further reading
Git Commands
- git init: Initialize a git repository in your directory
- git status: check the status of the repository
- git add [file_name]: add one file
- git add . : add all files
- git commit -m "commit message": commit your files along with a message
- git remote add origin [link to your repo]: the remote URL to your GitHub repo
- git push origin main: push your files up to GitHub on the main branch
Tips:
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
In this stage, we'll go in depth with
some of GitHub's most essential features,
0:00
issues using markdown,
branching, and pull requests.
0:00
Used together, these features
are the backbone of open source on GitHub.
0:04
And learning how to use them to
add your projects to the site,
0:08
will be a great foundation to
both showcase your work, and
0:10
start contributing to
the open source community.
0:13
So, now that we've created a repository,
let's open our terminal and
0:16
push up a project to GitHub.
0:20
Quick review.
0:22
When I say push, I'm talking about
the Git push command where we'll push our
0:23
project on our local computer,
up to a remote repository on GitHub.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up