Skip to content

Instantly share code, notes, and snippets.

View richardlopes-daitangroup's full-sized avatar

Richard Lopes richardlopes-daitangroup

  • Campinas, SP
View GitHub Profile
@richardlopes-daitangroup
richardlopes-daitangroup / cherrypick.sh
Created April 24, 2018 13:09
Cherry pick a list of commit hashes
#!/usr/bin/env bash
# Cherry pick a list of commit hashes coming from a file
LIST_FILE="${1}"
if [ "${LIST_FILE}" = "" ] ; then
echo "Pleas give path to commit list file!"
echo "Usage: cherry-pick-list <file/to/picklist>"
exit 1
fi