Repository navigation
|
I know I can create a new ref out of a commit with |
Answered by
cgwalters
Aug 14, 2023
Replies: 1 comment
|
There is "detached metadata" that can change independently of a commit; however, it's not used for much commonly besides signatures. One reason for this is that any such metadata is inherently then not covered by a signature. In most of these situations, you actually want to make a new commit that "inherits" from the previous one, like this: There isn't yet an ergonomic way via the CLI to inherit all metadata. It is however easy to do this with the shared library API. |
0 replies
Answer selected by
cgwalters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is "detached metadata" that can change independently of a commit; however, it's not used for much commonly besides signatures. One reason for this is that any such metadata is inherently then not covered by a signature.
In most of these situations, you actually want to make a new commit that "inherits" from the previous one, like this:
There isn't yet an ergonomic way via the CLI to inherit all metadata. It is however easy to do this with the shared library API.