Quick setup — if you've done this kind of thing before
via HTTP
Create a new repository from the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin http://localhost:8080/git/root/aaa.git
git push -u origin master
Push an existing repository from the command line
git remote add origin http://localhost:8080/git/root/aaa.git
git push -u origin master
via HTTP
Create a new repository from the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin http://localhost:8080/git/root/aaa.git
git push -u origin master
Push an existing repository from the command line
git remote add origin http://localhost:8080/git/root/aaa.git
git push -u origin master