Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git remove an empty commit

git filter-branch --commit-filter 'git_commit_non_empty_tree "$@"' HEAD
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #remove #empty #commit
ADD COMMENT
Topic
Name
7+1 =