|
|
@ -1,5 +1,6 @@ |
|
|
|
#!/usr/bin/env bash |
|
|
|
#!/usr/bin/env bash |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cd /tmp/demo |
|
|
|
( |
|
|
|
( |
|
|
|
rm -rf /tmp/demo-remote |
|
|
|
rm -rf /tmp/demo-remote |
|
|
|
mkdir -p /tmp/demo-remote |
|
|
|
mkdir -p /tmp/demo-remote |
|
|
@ -7,7 +8,6 @@ git init --bare /tmp/demo-remote |
|
|
|
git remote remove origin |
|
|
|
git remote remove origin |
|
|
|
) > /dev/null 2>&1 |
|
|
|
) > /dev/null 2>&1 |
|
|
|
|
|
|
|
|
|
|
|
cd /tmp/demo |
|
|
|
|
|
|
|
echo '$ git remote add origin /tmp/demo-remote' |
|
|
|
echo '$ git remote add origin /tmp/demo-remote' |
|
|
|
git remote add origin /tmp/demo-remote |
|
|
|
git remote add origin /tmp/demo-remote |
|
|
|
echo '$ git remote' |
|
|
|
echo '$ git remote' |
|
|
|