Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions 002_gitstart.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ concepts later), but rather to get a glimpse of the wider picture.
As an example we can explore a famous Git repository which was used
to produce the Event Horizon Telescope images: [https://github.com/achael/eht-imaging](https://github.com/achael/eht-imaging).

Terminology:

- **repository** or repo : the version controlled folder. Can be local (on your laptop) or the one on github/gitlab
- **branch** : git branches are individual projects within a git repository. A temporary copy of the version controlled folder within the same repo (actually, it is a temporary set of code changes with a name).
- **fork** A fork is a new repository that shares code and visibility settings with the original “upstream” repository. Forks are often used to iterate on ideas or changes before they are proposed back to the upstream repository, such as in open source projects or when a user does not have write access to the upstream repository.([source](https://docs.github.com/en/get-started/quickstart/fork-a-repo))


- History
- Explore the [repository](https://github.com/achael/eht-imaging). (see explanation of terminology below)
- Explore the [history](https://github.com/achael/eht-imaging/commits/main).
Expand All @@ -38,11 +45,7 @@ to produce the Event Horizon Telescope images: [https://github.com/achael/eht-im
- Reproducibility
- Discuss the value of the annotation feature: [example file](https://github.com/achael/eht-imaging/blame/main/ehtim/imaging/starwarps.py).

Terminology:

- **repository** or repo : the version controlled folder. Can be local (on your laptop) or the one on github/gitlab
- **branch** : git branches are individual projects within a git repository. A temporary copy of the version controlled folder within the same repo (actually, it is a temporary set of code changes with a name).
- **fork** A fork is a new repository that shares code and visibility settings with the original “upstream” repository. Forks are often used to iterate on ideas or changes before they are proposed back to the upstream repository, such as in open source projects or when a user does not have write access to the upstream repository.([source](https://docs.github.com/en/get-started/quickstart/fork-a-repo))


### Exercise: Setting up a github repo {.oranje}
Expand Down