Glossaria.net

Glossary Git / Term

grafts

Grafts enables two otherwise different lines of development to be joined together by recording fake ancestry information for commits. This way you can make Git pretend the set of parents a commit has is different from what was recorded when the commit was created. Configured via the .git/info/grafts file.

Note that the grafts mechanism is outdated and can lead to problemstransferring objects between repositories; see git-replace(1)for a more flexible and robust system to do the same thing.

Permanent link grafts - Creation date 2023-07-26


< gitfile Glossary / Git hash >