Last updated 1 year ago
git for-each-ref --sort='-committerdate' --format='%(committerdate:short) %(refname:short)' refs/heads/ refs/remotes/
Download the , and run the below commands:
chmod +x git_squash_commits_before_given_date.sh
./git_squash_commits_before_given_date.sh "2023-05-25" #Update date