GEOS-ESM / GFDL_atmos_cubed_sphere

The GFDL atmos_cubed_sphere dynamical core code
Other
0 stars 2 forks source link

Odd git behavior #103

Open mathomp4 opened 3 months ago

mathomp4 commented 3 months ago

For some reason, this works:

$ git clone git@github.com:GEOS-ESM/GFDL_atmos_cubed_sphere.git fvdycore
$ cd fvdycore
$ git checkout bugfix/mathomp4/trivial-ci-commit-gcc14
Note: switching to 'bugfix/mathomp4/trivial-ci-commit-gcc14'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at cc14d30 removed an unused module use in fv_sg

But there is no branch on this repo called that.

mathomp4 commented 3 months ago

This has been confirmed by @pchakraborty and @bena-nasa. I'll submit a bug report to Git mailing list and see what happens...