Keep the first 7 characters of input lines
# Keep the first 7 characters (n)
cat sha1s.txt | cut -c 1-7
# Example
# git merge-base develop master | cut -c 1-7
last updated february 2020
# Keep the first 7 characters (n)
cat sha1s.txt | cut -c 1-7
# Example
# git merge-base develop master | cut -c 1-7