P
P
Pavel2014-12-05 01:57:39
git
Pavel, 2014-12-05 01:57:39

How to make project.git instead of .git?

How can I make a project.git folder on an ubuntu server if I already have a .git in the project? I didn’t quite understand how I can push to the server from LAN if I don’t have the address ssh://[email protected]/home/user/project.git
I read the article git-scm.com/book/ru/v1/Git-%D0% BD%D0%B0-%D1%81%D0%...
but here, as I understand it, it is said that a common repository is being created for a simple exchange of commits.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-12-05
Protko @Fesor

mkdir project.git
cd project.git
git init --bare

read a book, not an article.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question