added playground dir to pseudo manually test gpm
This commit is contained in:
parent
39070e1078
commit
34570ee679
2 changed files with 21 additions and 0 deletions
3
playground/.gitignore
vendored
Normal file
3
playground/.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
*
|
||||
!.gitignore
|
||||
!gpm-test.sh
|
18
playground/gpm-test.sh
Executable file
18
playground/gpm-test.sh
Executable 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
|
Loading…
Reference in a new issue