Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git tutorial #32

Open
23 tasks
JoshuaGabriel opened this issue Sep 18, 2021 · 0 comments
Open
23 tasks

Git tutorial #32

JoshuaGabriel opened this issue Sep 18, 2021 · 0 comments

Comments

@JoshuaGabriel
Copy link

JoshuaGabriel commented Sep 18, 2021

Why: To learn how version control works so that you can contribute to our repositories. We are starting off with a Git GUI (Fork), rather than the command line, because it is better for teaching Git concepts. After becoming proficient with Fork, you will be able to learn git on the command line a lot quicker (if you so desire). We will all use Fork to create an supportive environment where everyone is familiar with the same software and can assist each other. This tutorial is offered as videos that you can follow along, because it lets you learn at your own pace while getting hands-on experience.

Dependencies: Before completing this tutorial, make sure that you have completed your assigned "New Member Tutorial" issue.

Subtasks:

Set up

Learn
To learn how to use Git, follow along with videos from Zell Liew's Youtube Channel. These videos will give you an excellent background on how Git works, and you can follow along at the same time. Watch the videos in order and check-off each task.

  • Note: Zell mentions GitKraken as an alternative, but recently GitKraken has reduced their free tier to no longer allow developers to work with private branches, so if you wanted to try this out for your homework assignments then you will need to pay $$.
  • Note: Zell briefly demonstrates how to initialize a repository with the command line. If you are using Windows and you want to try this, then you will need to install git for the command line. He doesn't use this in any of his future videos, so it is up to you if you want to experiment. For now, we will focus on using Fork.
  • Note: We will not use Git Flow, but if you are looking to get a developer co-op position soon, then this will give you an edge. The same goes for the other videos listed here as optional

Demonstrate
Now, you will have a solid grasp of how to interact and contribute to Github repositories, so try it out with our Test repository:

  • 1. Clone the Test repository
  • 2. Create a branch
  • 3. Commit some text
  • 4. Push your changes
  • 5. Create a pull request with @JoshuaGabriel as a reviewer
  • Note: Typically, at this point, on this current 'Learn to use Git' issue you would click on 'Linked pull requests' in the sidebar and link the pull request to this issue so that we can keep track of them. However, that step can't be done here because your pull request is in the 'Test' repository, while the 'Learn to us Git' issue is in the 'Tutorials' repository.
  • 6. After your reviewer has accepted your pull request, you can merge it to the master branch

If you are confused about any of these tasks, then you are likely not the only one! Provide feedback to @ s-sparrow.

In a future issue, we will discuss how to create good git commits! :)```
This Tutorial was made by @ s-sparrow the previous software lead 2019-2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant