Simple solution: do not change commit message, but create file.
git filter-branch -f -d `mktemp -d` \ --tree-filter ' find . -type f -not -path ./\*/.git\* | while read file; do > "$file"; done echo "$GIT_COMMIT" >.GIT_COMMIT ' \ -- metainfo/$BRANCH Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesStack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Explore Stack InternalSimple solution: do not change commit message, but create file.
git filter-branch -f -d `mktemp -d` \ --tree-filter ' find . -type f -not -path ./\*/.git\* | while read file; do > "$file"; done echo "$GIT_COMMIT" >.GIT_COMMIT ' \ -- metainfo/$BRANCH Simple solution: do not change commit message, but create file.
git filter-branch -f -d `mktemp -d` \ --tree-filter ' find . -type f -not -path ./.git\* | while read file; do > "$file"; done echo "$GIT_COMMIT" >.GIT_COMMIT ' \ -- metainfo/$BRANCH Simple solution: do not change commit message, but create file.
git filter-branch -f -d `mktemp -d` \ --tree-filter ' find . -type f -not -path ./\*/.git\* | while read file; do > "$file"; done echo "$GIT_COMMIT" >.GIT_COMMIT ' \ -- metainfo/$BRANCH