added playground dir to pseudo manually test gpm

This commit is contained in:
Yann Esposito (Yogsototh) 2018-10-21 12:29:37 +02:00
parent 39070e1078
commit 34570ee679
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
2 changed files with 21 additions and 0 deletions

3
playground/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
*
!.gitignore
!gpm-test.sh

18
playground/gpm-test.sh Executable file
View file

@ -0,0 +1,18 @@
#!/usr/bin/env zsh
[[ -d testproj ]] && rm -rf testproj
mkdir testproj
pushd testproj
echo "README 1" > README
git init .
git add README
git commit -m "initial commit"
gpm init
gpm new-issue -t "issue-1" -p "A"
git co gpm
cp hooks/prepare-commit-msg{.sample,}
git add hooks
git commit -m "updated the prepare-commit-msg git hook"
git co master
gpm hooks sync
popd