repo.or.cz
/
lcapit-junk-code.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Introduce old redir program
[lcapit-junk-code.git]
/
git
/
git-test-repo
blob
6b02e43c9412918d41a5e08c5b5313cc84947653
1
#!/bin/bash
2
3
REPO
=
$1
4
5
if
[
-z
"
$REPO
"
];
then
6
echo
"you must specify a repository"
7
exit
1
8
fi
9
10
rm
-rf
$REPO
11
mkdir
$REPO
12
cd
$REPO
13
echo
"Hello, world"
>
hello.txt
14
echo
"outro, arquivo"
>
a.txt
15
git init
16
git add .
17
git commit
-s -m
"Initial import"