This repo was created for students to submit their homeworks for review.
-
fork this repository
-
clone your fork to your local machine:
git clone https://github.com/YOUR_USERNAME/golang-2019-homeworks.git
-
add this repository as an upstream:
git remote add upstream https://github.com/kottans/golang-2019-homeworks.git
-
in your local repository, add a folder with your github name under
submissions
(if you haven't yet) -
in your local repository, under your name folder, add a folder with task name and put your code in the folder
See example file structure you are expected to have below:
- submissions
-- username
--- port-sniffer
---- port-sniffer.go
README.md
- make pull-request to this repository following these steps:
git checkout master
and then create new branch, name it according to task performed (aka feature branch):git checkout -b port-sniffer
. In this example feature branch is calledport-sniffer
- commit your changes to newly created feature branch
- checkout
master
branch:git checkout master
- pull latest changes from upstream
master
branch:git pull upstream master
- merge
master
branch into your feature branch:git checkout port-sniffer && git merge master
- resolve any merge conflicts if there are any
- push feature branch to your remote repository:
git push --set-upstream origin port-sniffer
- make pull-request from your repository to this repository via GitHub web-interface
- post a link to your subtask PR in the
BE Questionarium chat
and ask mentors for a code review
- wait for review from course mentors
- if necessary, make changes, until your code will be approved and merged
- once the code review phase successfully finished
and you have an approval from one of the mentors
add to your
kottans-backend/README.md
a link to subtask code base and a note sayingReviewed and approved by @<mentor>
(use mentor's github username) - list your reflections on this subtask (what was new to you, what surprised you, what you intend to use in future)