Skip to content

Instantly share code, notes, and snippets.

@omarsar
Last active October 4, 2017 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omarsar/b4246c0bba53e6b0f84b7b70c164abab to your computer and use it in GitHub Desktop.
Save omarsar/b4246c0bba53e6b0f84b7b70c164abab to your computer and use it in GitHub Desktop.
Instructions to submit assignment 1

These are the instrucitons to submit assignment of Data Mining 2017 Fall:

  • Assuming you have cloned the data_mining_hw_1.git repository to your account, you first clone your fork to start making necessary changes, by:

git clone https://github.com/YOURUSERNAME/data_mining_1.git

  • It's a good practise that when you fork a repo, you fetch from upstream and create a new branch. In this assignment you don't need to fetch changes since the homework repo is finalized. But you are recommended to create a new branch instead of working directly from the master branch. (If you have already started working on master, it is fine either way.) Create branch and give it a meaningful name:

git branch newbranch

  • Then you switch to the new branch by:

git checkout newbranch

  • You are now ready to start making changes. After you have finished making changes and you are ready to commit those changes. You do so by the following commands: Add new files:

git add .

Commit changes:

git commit -am "added new changes"

And push to newbranch. (Note: not to master)

git push -u origin newbranch

Just make sure you push to newbranch instead of master. Again, if you are working on your master it is still fine. You can also merge your new branch with master as well. Just don't submit pull request to the original repository. You will be asked to provide a link to your final submission on due date. Other questions on Slack please!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment