bpowell / git-replay

Replay a git repo into another by cherry-picking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git remote add temp file:///path/to/git/repo

echo "[" > data.json; git log temp/master --pretty=oneline --reverse | awk '{print "{"commit":"" $1 "","msg":"" substr($0, 42) ""},"}' >> data.json; sed -i '$ s/.$//' data.json; echo "]" >> data.json

copy main.go to repo

go run main.go

About

Replay a git repo into another by cherry-picking


Languages

Language:Go 100.0%