Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 3.09 KB

File metadata and controls

32 lines (26 loc) · 3.09 KB

Instructions for Working with GitHub

A good resource for learning how to leverage GitHub: GitHub Learning Labs
VCS stands for Version Control System. Git is a VCS and GitHub is a collection of repositories that leverage git as a VCS.
IMPORTANT: Make sure to follow the Git instructions to enable the functionality on your machine.

GitHub

  1. If you don't already have one, create an account on GitHub. Your GitHub page is an online portfolio of technical projects that contains version control and ease of collaboration. A GitHub is just as important as having a tailored LinkedIn profile or professional business cards.
  2. Fork the parent repo into your personal GitHub account. This will allow you to update the project with your work.
  3. The parent repo can change based on feedback and new content. Read and understand how to sync a repo to ensure you have the current version of the project.

Git

  1. Download and install git.
  2. Follow GitHub's instructions for setting up git.
  3. Take some time to explore Pro Git or the reference documents to understand VCS and this platform. There are also four tutorial videos if that is your preferred method.
  4. Open GitHub and press the green Clone or Download button.
  5. Copy the URL provided. It should be in this format: https://github.com/<USERNAME>/100DaysPython.git
  6. If using PyCharm for the project, skip to that section.
  7. Follow GitHub's instructions for forking a repo.

PyCharm

  1. JetBrains provides detailed procedures on how to interact with your GitHub account.
  2. Clone your forked repo from your GitHub page to import the project into the PyCharm IDE.
  3. When you wish to commit changes to your GitHub repo, you can select the green checkmark in the top right of the IDE, select Commit from the VCS menu, or press Ctrl+K to bring up the commit dialog box.
  4. Add a comment about the changes made and select the down arrow next to Commit or press Ctrl+Alt+K for Commit and Push. Commit will accept the changes, but Push is the process that updates the GitHub repo with changed files.

Anaconda

  1. The only way to interact with the VCS is through the Anaconda Prompt.
  2. Run the command conda install -c conda-forge git in Anaconda Prompt to ensure git is enabled on your Anaconda virtual environment. Then follow the same procedures as Git.

VS Code

  1. Follow the documented procedures from Visual Studio.