-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move the git config to above git repo creation
- Loading branch information
1 parent
7c385cb
commit 70fa321
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,13 @@ REPO="test-repo.git" | |
echo $REPO | ||
mkdir $REPO | ||
cd $REPO | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Your Name" | ||
git config --local init.defaultbranch main | ||
git init --bare | ||
cd .. | ||
git clone -l $REPO test-repo-clone | ||
cd test-repo-clone | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Your Name" | ||
git config --local init.defaultbranch main | ||
|
||
# Add | ||
for i in {1..16} | ||
|