GIT - how to keep a file common across all branches

前端 未结 4 1628
故里飘歌
故里飘歌 2021-01-02 06:10

Suppose I have a file \"ChangeLog\" in branch \"master\". I want to record information about all changes in any branch in this file (in more detail than in a commit message

4条回答
  •  执念已碎
    2021-01-02 06:58

    Write a post-commit hook to merge the file into the other branches. http://kernel.org/pub/software/scm/git/docs/githooks.html

提交回复
热议问题