How do I create a local git repository in Ubuntu?

Nam Lê

Member
How do I create a local git repository in Ubuntu?
Answer
1 Answer. Just create a directory somewhere that will act as the ‘remote’ repository. Run git init –bare in that directory. Then, you can clone that repository by doing a
git clone –local /path/to/repo.
 

Tìm kiếm

Back
Top