We have push out some changes to the multiwriter*.go
files. Be sure to read the entire bulletin before doing these instructions. First, if you haven't made any edits to the multiwriter*.go
files, then do this:
cd $GOPATH/src/github.com/uis-dat520/labs
- Run the command
git pull origin master
to get the changes into your own repo. - Implement your own multiwriter code.
git add multiwriter.go
git commit
git push labs
to push your code to your ownusername-labs
repo on GitHub.
If you have already implemented some code in multiwriter.go
files, then do this:
cd $GOPATH/src/github.com/uis-dat520/labs/lab1
- Run
git status
and check if you have any uncommitted changes. - If you have changes in
multiwriter.go
you must rungit add multiwriter.go
andgit commit
to ensure that your changes are saved in the commit history.
git pull origin master
- Resolve any merge conflicts and implement your own code in
multiwriter.go
. This can be a bit tricky. Please consult this help document. git add multiwriter.go
git commit
git push labs
to push your code to your ownusername-labs
repo on GitHub.
PS: It is very helpful to understand the state of your local git repo by running the git status
command. You can run this at any time; it will not make any changes, just tell you the status of the repo.