git
We are using git and GitHub classroom to distribute and provide version control for your assignment code.
Below are some additional info that can help with your D3 assignments.
Table of Contents
Tips
- Here is a cheatsheet for git usage.
- After you clone a repo, make sure to
cd
into the new folder before starting your web server.
GUI clients
You are welcome to use your favorite GUI clients for git rather than the command line / terminal. Some IDEs also include a git GUI. Some examples:
- On Windows, TortoiseGit is great and integrates with the filesystem.
- On Windows and Mac, Sourcetree is also nice.
- See many more here.
Group workflow
As you work with your team, you may have issues merging your changes. We recommend you pick one member of the team to be the project manager and deal with merging any pull requests.
Instead of all working directly out of the main gh-pages
branch, you can try adopting a Git branching model for development. See, e.g., this article by Vincent Driessen and the included image: