code-gallery
code-gallery copied to clipboard
git commands in code-gallery/goal_oriented_elastoplasticity/readme.md can not work
code-gallery/goal_oriented_elastoplasticity/readme.md
seems to imply that the directory is its-self a git repository when it says:
The code contains several examples consisting of the three examples presented in the aforementioned paper. To run each of them you can switch to them, e.g.
```bash
git checkout Thick_tube_internal_pressure
git checkout Perforated_strip_displacement_3d
git checkout Cantiliver_II_beam_3d
Since the directory is in fact not a git repository trying those commands results in git not finding the files to check out:
$ pwd
/home/mgesing/Documents/dealii/code-gallery/goal_oriented_elastoplasticity
$ ls
Cantiliver_II_beam_3d.prm CMakeLists.txt doc elastoplastic.cc readme.md Thick_tube_internal_pressure.prm
$ git checkout Thick_tube_internal_pressure
error: pathspec 'Thick_tube_internal_pressure' did not match any file(s) known to git.
I suppose that the git repository that those git commands are supposed to interact with exists somewhere, and there should be a line above the git checkout
commands saying something like "clone the repository with git clone https://...
"
Do you know where the git repo is?
Oh dear, we never addressed this question :-( I don't know the answer, you will have to ask the original author of the program (their email address is listed at the top of this page: https://dealii.org/developer/doxygen/deal.II/code_gallery_goal_oriented_elastoplasticity.html).