From 34570ee67999dffacca222b597301bf45c236bb1 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Sun, 21 Oct 2018 12:29:37 +0200 Subject: [PATCH] added playground dir to pseudo manually test gpm --- playground/.gitignore | 3 +++ playground/gpm-test.sh | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 playground/.gitignore create mode 100755 playground/gpm-test.sh diff --git a/playground/.gitignore b/playground/.gitignore new file mode 100644 index 0000000..529fce9 --- /dev/null +++ b/playground/.gitignore @@ -0,0 +1,3 @@ +* +!.gitignore +!gpm-test.sh \ No newline at end of file diff --git a/playground/gpm-test.sh b/playground/gpm-test.sh new file mode 100755 index 0000000..cf3cf6c --- /dev/null +++ b/playground/gpm-test.sh @@ -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