F
F
Faber Estello2015-06-17 14:05:30
git
Faber Estello, 2015-06-17 14:05:30

How to add a repository to github?

Tell me what I'm doing wrong and how to solve the problem ?!
Created folder with the test-pj project
with git bush I write git init , and it immediately gives me "reinitialized existing Git repository in c:/user/....../test-pj/.git/"

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Victor, 2015-06-17
@senselessV7

  • Create a repository with git init.
  • You add the address of your repository on GitHub as a remote: git remote add origin %url%
  • git push origin
  • PROFIT

D
Danil Antoshkin, 2015-06-17
@TwerTrue

As I understand it, it is written there that .git is already there and you recreate it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question