git-notes Questions

4

Solved

How can I dump a log of my commits showing only the ones with notes of a given namespace? Commits without notes, or notes not belonging to a given namespace should be filtered out In the text dump ...
Weidner asked 29/10, 2012 at 8:29

3

I use git notes in my repository. Sometimes I need to find a commit with note that includes given string. So far I was using this command: git log --show-notes=* --grep="PATTERN" --format=format:%...
Dissolution asked 6/9, 2018 at 11:18

3

Solved

I'd like to attach a note to a tree object. However, in order to do so I first need to know the tree object's hash. For a given directory name that's part of my repository, how do I get its belongi...
Hollister asked 23/3, 2016 at 14:31

2

Currently if I add notes to an object in git I have to explicitly push/pull this information to the remote server. Is it possible to configure git so that when I do a git push it will push my loca...
Orpah asked 4/6, 2013 at 15:40

2

We'd like to annotate our commits with git notes add, which works fine. To get a list of all commits with notes we use this command git notes | cut -d' ' -f2 | xargs -ihash git log hash -1 Now ...
Ullage asked 2/12, 2013 at 9:5

2

I'm working with a Git repository and would like to define custom properties to apply to each file in the repository. These properties could then be updated on each commit. Ideally the properties s...
Eyeopening asked 18/7, 2017 at 1:24

1

For some reasons, I have to rewrite the entire history of my git repository to change the committer_id of every commit. However, I attached a note to more or less every commit and using git-filter-...
Prestidigitation asked 28/10, 2014 at 15:33

2

Solved

I migrated from SVN to git and i had a note in each git commit referencing to SVN revision number. After repo import i used BFG repo cleaner to clean git history from binary files and other trash. ...
Vibratile asked 21/11, 2016 at 13:25

1

Solved

I know that git notes can be fetched after cloning using: git fetch origin refs/notes/*:refs/notes/* or even be setup in git config to be always fetched. However at clone time I do not get the ...
Fight asked 21/6, 2016 at 10:15

2

Solved

I followed these instructions in order to merge Git notes. I cloned a repo, added notes reference to the commit (refs/notes/commits). When i push it, central repo rejects it as it was non-fast forw...
Doscher asked 21/8, 2012 at 12:54

1

Solved

I've read this and this but still see them as obscure. By far understood: creation (git notes add -m "a note") notes are namespaced Questions: notes seem not to create a commit, so how the pu...
Fruitless asked 28/8, 2015 at 11:4

3

Solved

I have bit of a difficulty in deleting a local ref branch(refs/notes/origin/commits). I was able to delete the branch(refs/notes/origin/commits) in the remote repository using the command git push...
Singles asked 29/8, 2013 at 8:59

1

Solved

For example: git commit -am "Something" git notes append -m "Dark " git commit -am "Something" git notes append -m "Side" git rebase -i # now I squash two commits and I expect to see "Dark Side" ...
Faggot asked 29/1, 2013 at 14:47
1

© 2022 - 2025 — McMap. All rights reserved.