Thursday, August 21, 2014

Git Notes

https://www.atlassian.com/git/tutorial/git-basics#!init

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: