Pinned Loading
-
script to interactively git rebase c...
script to interactively git rebase commits that have a single character '.' as the commit message 1#!/bin/bash
2# script to interactively git rebase commits that have a single character '.' as the commit message
3# onto the first commit that isn't just a '.'
4squashLine=$(git log --oneline | grep -n -m 1 --perl-regexp "^[\da-f]*\s[^.]")
5lineNumber=$(echo ${squashLine} | cut -d : -f 1)
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.