Skip to content

Instantly share code, notes, and snippets.

View dan-lind's full-sized avatar

Daniel Lindberg dan-lind

View GitHub Profile
@dan-lind
dan-lind / cherry-pick-by-author.sh
Last active October 1, 2020 03:48 — forked from SarasArya/cherry-pick-by-author.sh
This gist lists the cherry pick by author and stores in a file and apply it on a branch
#!/usr/bin/env bash
if [ -z ${1} ]
then
echo "Enter first argument which is author name";
exit
fi
if [ -z {$2} ]
then
echo "enter second argument which is in which branch you want these commits to go"
exit
@dan-lind
dan-lind / cherry-pick-by-author.sh
Created October 1, 2020 03:47 — forked from SarasArya/cherry-pick-by-author.sh
This gist lists the cherry pick by author and stores in a file and apply it on a branch
#!/usr/bin/env bash
if [ -z ${1} ]
then
echo "Enter first argument which is author name";
exit
fi
if [ -z {$2} ]
then
echo "enter second argument which is in which branch you want these commits to go"
exit