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 masterto get the changes into your own repo. - Implement your own multiwriter code.
git add multiwriter.gogit commitgit push labsto push your code to your ownusername-labsrepo 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 statusand check if you have any uncommitted changes. - If you have changes in
multiwriter.goyou must rungit add multiwriter.goandgit committo 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.gogit commitgit push labsto push your code to your ownusername-labsrepo 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.