-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Felix Moerman edited this page Dec 1, 2023
·
10 revisions
-
These trainings materials will provide you with an introduction to the use of Git for managing analysis scripts and data.
- In these materials, we will discuss
- Why to use version controlling for your research data
- The installation of Git and the use of git commands via the terminal/console for version controlling projects.
- The use of Github for version controlling of projects and collaborative projects, as well as the ZHAW Github page.
- The installation and use of Graphical User Interfaces (GUIs) for interfacing with Git/Github in a more intuitive way (using GitHub Desktop).
-
These materials are meant to be used as in interactive training manual, where you learn while practicing along the materials.
-
On request, the ZSF can also organize a live demonstration/introduction along the materials. Contact researchdata@zhaw.ch to arrange such an introduction.
- 1: The basics of version controlling: definitions, history, importance, and guidelines
- 2: Installing and setting up Git, Github, and Github Desktop
-
3: Using Git and (using the command line terminal powershell)
- 3.1: Creating a new repository
- 3.2: Checking the status of your repository
- 3.3: Staging a file/files in your repository
- 3.4: Creating a commit - new version of the project
- 3.5: Checking the project history/information: log and show
- 3.6: Reverting changes to the code: checkout and revert
- 3.7: Git object structure, and looking at file changes
- 3.8: Creating and managing branches
- 3.9: Tags
- 3.10: Rebase, blame, and diff: managing commits
- 3.11: Excluding files from version control: .gitignore
- 3.12: Interacting with remote repositories
- 3.13: Further information
- 4: Using GitHub Desktop for version controlling your projects