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 ...
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:%...
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...
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...
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 ...
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...
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 ...
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...
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...
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" ...
1
© 2022 - 2025 — McMap. All rights reserved.