Git-native issue tracking tool
git issue
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108#PATH=$PATH:$(realpath ~/git/git-pad)
# if [ ! -d R1 ]; then git clone git@github.com:kwhkim/git-pad.git R1; fi
# #if [ ! -d bare1.git ]; then git clone --bare git@github.com:kwhkim/git-pad.git bare1.git; fi# if [ -d bare1.git ]; then rm bare1.git || rm -rf bare1.git; fi# git clone --bare git@github.com:kwhkim/git-pad.git bare1.git
cd git-pad-test && echo "git-pad-test"
cd R1 && echo "R1"git pad list git pad status git pad remotegit pad track
git pad init --no-clonegit pad new --title="first issue" --body="This is for testing"git pad new --title="second issue" --body="This is second issue"
git pad statusgit pad commit -m "R1 first commit"
git pad listgit pad new --title="third issue" --body="This is the third"git pad statusgit pad commit -m "R1 second commit"
git remote add local ../bare1.gitgit pad track localgit pad push local
cd ..
if [ ! -d R2 ]; then git clone bare1.git R2; ficd R2 && echo R2git pad clonegit pad listgit pad status
git pad new --title="4th issue" --body="This is 4th" --type="announcement" --priority="P1"git pad new --title="5th issue" --body="This happens when ..." --type="bug" --priority="P1"git pad commit -m "R2 issue number 4 and 5"
git pad pushcd ..
if [ ! -d R3 ]; then git clone bare1.git R3; ficd R3
git pad init --clonegit pad listgit pad statusgit pad pull
pwdcd ..
if [ ! -d R4 ]; then git clone bare1.git R4; fi
if [ ! -d R5 ]; then git clone bare1.git R5; fi
pwdcd R5 && git pad init --clone && cd ..
pwdcd R4git pad clone
id=$(git pad list | awk '{print $1}' | grep -v ID | head -1)git pad comment "$id" -m "Looks good. keep it up"
git pad new --title="6th issue" --body="This is 6th" --type="announcement" --priority="P2"git pad commit -m "R4 commit 1"git pad new --title="7th issue" --body="This happens when ..." --type="bug" --priority="P2"git pad commit -m "R4 commit 2"
git pad pushcd ..
cd R3pwdgit pad pullcd ..
cd R5pwd
git pad new --title="6th another issue" --body="This is 6th" --type="announcement" --priority="P2"git pad commit -m "R5 commit 1b"git pad new --title="7th another issue" --body="This happens when ..." --type="bug" --priority="P2"git pad commit -m "R5 commit 2b"
id=$(git pad list | awk '{print $1}' | grep -v ID | head -1)git pad comment "$id" -m "Let's get rolling."
git pad push || truegit pad pullgit pad list
cd -
if [ ! -d R6 ]; then git clone bare1.git R6; fi