Git
Git Lecture
A lecture on the underlying model of Git. [Slides (Keynote)]
Git Video Series
Follow along this series of short videos on how to get started with Git.
Introduction
Setup
$ git config --global user.name "Your Name" $ git config --global user.email email@example.com # ~/.config/git/ignore # macos *.DS_Store # IntelliJ IDEA .idea *.iml
Repository
Commit
Publish to GitHub
Cloning from GitHub
Coordinating Collaboration
Branches and Pull Requests
Rebasing
Conclusion
References
- Pro Git: The best book about Git.
- Resources to learn Git.
- Git Immersion.
Group Projects on GitHub
We require that group projects use a private repository created by the course staff hosted on GitHub under the jhu-oose
organization. You will receive instructions on how to access the repository once groups are formed. You will use GitHub not only for hosting the Git repository for the code, but also for managing the project and delivering each Iteration. You will use the issue traker, pull requests, project boards, the wiki, and so forth.
Create one issue for every planned feature / use-case, bug, enhancement (for example, refactorings), and so forth. Never commit directly to the master
branch, but use branches and create pull requests citing the corresponding issue (if any). This sparks conversations, allows asynchronous collaboration, and documents the development process, which is useful for the team as it moves forward and for the group advisors when grading.