Git: Difference between revisions

From Fluids Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 21: Line 21:
By sharing repositories with the group, you can make them immediately available to everyone else in the group, making it a very efficient way to share code with other lab members.
By sharing repositories with the group, you can make them immediately available to everyone else in the group, making it a very efficient way to share code with other lab members.
This is also a nice way to help make sure that, after you graduate, your code doesn't vanish with you, and future generations can continue to use the tools that you built.
This is also a nice way to help make sure that, after you graduate, your code doesn't vanish with you, and future generations can continue to use the tools that you built.
== Useful Snippets ==
* <code>git log -p filename > changelog</code> stores the history of changes to file <code>filename</code> into the file <code>changelog</code>.

Revision as of 14:31, 25 October 2018


Git (Version Control Software)

Learning Git

GitHub as a nice set of tools for learning Git, which can be found here. These include some practical components, general documentation and cheat-sheets. If you're new to git, this is a great way to get introduced to the ideas

GitLab Group

The Fluids Lab has a group on the uWaterloo GitLab server. It can be found here. If you don't have access, click the request access button and someone will approve you. By sharing repositories with the group, you can make them immediately available to everyone else in the group, making it a very efficient way to share code with other lab members. This is also a nice way to help make sure that, after you graduate, your code doesn't vanish with you, and future generations can continue to use the tools that you built.

Useful Snippets

  • git log -p filename > changelog stores the history of changes to file filename into the file changelog.