1. Create a repository
go to the directory you want to treat as central repository and run
git init --bare
e.g.
create repository called amaTest.git in /home/ama/gitRepository:
cd /home/ama/gitRepository
git init --bare amaTest.git
# --bare is to create a shared repository for other person to clone from
to be continued...
No comments:
Post a Comment