Skip to content

git commands in code-gallery/goal_oriented_elastoplasticity/readme.md can not work #86

@ohcfe

Description

@ohcfe

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions