From: Junio C Hamano Date: Tue, 31 May 2016 15:25:12 GMT Subject: Re: How to add custom metadata to Git commit object Message-ID: In-Reply-To: Kirill Likhodedov writes: > Just out of curiosity, is it possible to add a custom invisible header > to commit object with some Git command? > git commit or commit-tree don’t have an option for this. There isn't, and that is very much deliberate. We do not want to make it easy for people to even experiment with such "custom" headers; we want to encourage people to find solutions to whatever problem they are trying to solve that does not involve touching the object header.