This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# git-find-roots finds every commit with no parent (initial commits) | |
# and the commit where they were merged. | |
# | |
# Usage: | |
# git-find-roots [commit-ish] | |
# | |
# Example: | |
# git-find-roots master |