Skip to content
Jean Loic Kandikandi edited this page Sep 17, 2020 · 4 revisions

SWE Obstacle Course

This course was originally designed by Faizaan Christie!

I have for you a few small challenges that shouldn't be too difficult to complete!

Goal

Our goal is to understand the Git workflow we're going to be implementing!

What you need to do

First, you are going to get acquainted with the CLI.

Command line

A lot of work that we'll be doing will revolve heavily around the cli (command line).

Don't be afraid if you haven't really gotten used to it - it's actually very intuitive once you get the hang of things.

Please begin by watching the CLI tutorial corresponding to your OS (even if you know some basics):

If you use any *nix (excluding mac) OS I'm sure you know your way around a terminal. 🥇

Once you're done, you can move on to Git.

Git

USE YOUR COMMAND LINE FOR THIS ONLY!

  1. Look at https://github.com/FA1-3/Github-Training/blob/master/README.md

You're going to be putting your name and your program there

  1. Clone the repo git clone https://github.com/FA1-3/Github-Training.git
  2. Create a new branch:
git pull origin master
git checkout -b yourname/purpose-of-branch (i.e. Loic/adding-name)
git branch

// your branch name should show up!
  1. Modify the file readme.md
  2. Push to your branch!
git status
git add -A
// ^ use at your own risk
git commit -m "my message that follows the guidelines"
git push -u origin my-guideline-abiding-branch-name
  1. Open a Pull Request from your branch to the master!

Read this https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request

  1. Request review from me @kandloic! (Add me as a reviewer)
  2. Await approval!

If there are any issues you'll have to refactor your work! We're all here to help with that so don't be afraid to make mistakes!

  1. Once I have approved and merged your branch, you can delete it if you'd like.

Take a look at my Pull Request! https://github.com/FA1-3/Github-Training/pull/1

This should be completed within 7 days of you being assigned this task!

Good luck!

Clone this wiki locally