diff --git a/testscript/testdata/repo-push.txtar b/testscript/testdata/repo-push.txtar index d9f947537f105e879ab54275777c62250ffaa673..c4a5e243e1a9b021d207dddb6279588beeab37fe 100644 --- a/testscript/testdata/repo-push.txtar +++ b/testscript/testdata/repo-push.txtar @@ -11,8 +11,14 @@ soft repo create repo-empty -d 'description' -H -p -n 'repo-empty' # clone repo git clone ssh://localhost:$SSH_PORT/repo-empty repo-empty -# push repo +# push repo without any commits ! git -C repo-empty push origin HEAD +# push repo with a commit +mkfile ./repo-empty/README.md '# Hello\n\nwelcome' +git -C repo-empty add README.md +git -C repo-empty commit -m 'first' +git -C repo-empty push origin HEAD + # stop the server [windows] stopserver