Skip to content

Commit

Permalink
merge instructions on bibliography
Browse files Browse the repository at this point in the history
  • Loading branch information
mhagdorn committed Jul 25, 2024
1 parent f735ebe commit 76b36ad
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,41 @@ python3 -m pip install -r requirements.txt

### Bibliography

We use a single, shared BibTeX bibliography file for all papers in the teaching RSE project. This is imported as a Git submodule from [another repository](https://github.com/the-teachingRSE-project/bibliography). See the instructions in that repository if you need to add bibliography entries.
We use a single, shared BibTeX bibliography file for all papers in the teaching RSE project.
This is imported as a git submodule from [another repository](https://github.com/the-teachingRSE-project/bibliography).
See the instructions in that repository if you need to add bibliography entries.

When you first clone this repository, the bibtex folder is empty.
To download the bibliography, run the following commands:

```sh
git submodule update --init --recursive
git config --local submodule.recurse true
```

This will populate the folder with the contents of the remote bibliography repository.
To modify the bibliography, you need to clone
[the-teachingRSE-project/bibliography](https://github.com/the-teachingRSE-project/bibliography),
commit your changes and push them. Then you can synchronize the
local bibliography submodule by running the following commands:

```sh
git submodule update --remote bibliography
git add bibliography
git commit -m 'Synchronize bibliography'
```

If the remote bibliography repository is broken, you can roll back the bibliography version
in the submodule. For example to go back 4 commits in the past, run:

```sh
cd bibliography/
git reset HEAD~4
git checkout .
cd ..
git add bibliography/
git commit -m 'Roll back to an older version of the bibliography'
```

### How to create a pull request

Expand Down

0 comments on commit 76b36ad

Please sign in to comment.