Skip to content

Instantly share code, notes, and snippets.

View JmPotato's full-sized avatar
🤯
滅茶苦茶

JmPotato JmPotato

🤯
滅茶苦茶
View GitHub Profile
@JmPotato
JmPotato / sign.sh
Created August 17, 2020 09:25 — forked from disksing/sign.sh
Sign off commit history
#!/bin/bash
# Add missing DCOs for current branch (starting from merge base to master)
# Following commit history as an example, this script will affect commits E,F,G.
#
# v master
# A - B - C - D - H - I
# \
# E - F - G
# ^ feature (HEAD)