git: how to push messages added by git notes to the central git server?

前端 未结 1 879
生来不讨喜
生来不讨喜 2020-12-07 13:39

it seems like there is no proper documentation regarding git notes. I have added some notes to one of the commit using git notes add command. but when i push the commit, and

相关标签:
1条回答
  • 2020-12-07 14:40

    According to here [git-scm.org], you can use

    git push <remote> refs/notes/*
    

    to push all notes. Fetching can be done with

    git fetch origin refs/notes/*:refs/notes/*
    
    0 讨论(0)
提交回复
热议问题