C. Computational workflows
You will have the version control system git installed on your computer and be able to run the important commands.
You will be able to keep your computing environment stable.
You will have a roadmap on how to automate your code.
This week’s assignments are a bit more difficult and will take longer to implement that the previous. Please plan for this.
Read this chapter and watch this week’s videos. Afterwards go through the following assignments:
- Install git (see Booklet)
- Create a Github account (if you don’t yet have any)
Practical Task 1: Work on your own Github repository
- Create a Git repository on GitHub or GitLab (you can call it e.g. “sandbox” or “just-trying-Git” 😉). Then
clone
it, edit a file,add
,commit
, andpush
your changes back to Github. Practical task 2: Contribute to someone else’s repository - Fork the following repository (it contains the file structure you should be already familiar with) : https://github.com/likeajumprope/BERD_course
- Make a change to some of the files. For example, you can add a code comment (a command that is not executed) using the # symbol
- Commit your changes.
- Make a pull request to the original (my) repository. Make sure to summarize your changes and write a nice commit message.
Optional Tasks: - Create a Git repository for your current research project. - Optional: Think of things you would like to see improved in our course booklet (Alternatively: view the open issues) and choose one thing where you can make a contribution. Create a fork of the booklet project and then a pull request with your contribution and mark it in the respective issue.
Discuss your progress and potential issues with your accountability buddy.