Skip to content
Snippets Groups Projects
Commit 04cc5d83 authored by nimrod's avatar nimrod
Browse files

Set required Git variables if thy're missing.

parent ba6e844b
No related branches found
No related tags found
No related merge requests found
Pipeline #791 passed
...@@ -6,6 +6,8 @@ setup () { ...@@ -6,6 +6,8 @@ setup () {
then then
git init "$repo" git init "$repo"
cd "$repo" cd "$repo"
git config user.name "Your Name"
git config user.email "name@example.com"
echo 1 > file echo 1 > file
git add file git add file
git commit -m "Initial commit." git commit -m "Initial commit."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment