Skip to content

Git commit when running from different directory #568

@erwinlambert

Description

@erwinlambert

This only returns the actual commit of the UPSY-models repo when the run script is in the correct folder.

In my case, I run the model from a folder in another repo: mpirun ../UPSY-models/UFEMISM_program, which returns the git commit of that other repo. For reproducibility of future runs, best to ensure this is consistent.

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