# make repositories
git clone http://gilgil:1111@dev.gilgil.net/test.git
cd test
#mkdir test
#cd test
#git init
# main.cpp
touch main.cpp
git add main.cpp
git commit -m "add main.cpp"
git push origin master
# branch_foo
git branch branch_foo
git checkout branch_foo
touch foo.cpp
git add foo.cpp
git commit -m "add foo.cpp"
git checkout master
git merge branch_foo
git push origin branch_foo
git push origin master
# tag_foo
git checkout master
git tag -a "tag_foo" -m "tagging foo"
git push origin tag_foo
# branch_bar
git checkout master
git branch branch_bar
git checkout branch_bar
touch bar.cpp
git add bar.cpp
git commit -m "add bar.cpp"
git checkout master
git merge branch_bar
git push origin branch_bar
git push origin master
# tag_bar
git checkout master
git tag -a "tag_bar" -m "tagging bar"
git push origin tag_bar
# finish
cd ..