If your commits are in the "newlines" branch and you have switched back to your "master" branch already, this should do the trick:
git checkout -b tmpsquash
git merge --squash newlines
git commit -a -m "My squashed commits"
git format-patch master
--- | |
# Key Derivation & Address Test Vectors for Cardano Shelley Addresses | |
# =================================================================== | |
# | |
# Shelley CDDL Specification (draft): | |
# | |
# https://github.com/input-output-hk/cardano-ledger-specs/blob/bf4b79f3e937ac3a584161101f2230d2406ff0ae/shelley/chain-and-ledger/executable-spec/cddl-files/shelley.cddl | |
# | |
# Shelley HD Wallets Specification: |