H
H
HellWalk2017-08-18 12:11:25
git
HellWalk, 2017-08-18 12:11:25

How do I set up a send destination?

At work, I only had to set up a project for GitLab once, now I need to set up a second one, and somehow I forgot some elementary things.
On the first git push it says:

fatal: No send destination configured.
Either specify a URL using the command line, or set up an external repository with
git remote add <name> <address>
and then push the changes using the external repository
name git push <name>

Actually, how to set up a destination? The examples in the quote don't say anything. 30 minutes of googling also did not bring any result.
From GitLab on the required site I have only a link of the form:
[email protected]:site/site.git

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Sanych, 2017-08-18
@mountpoint

git remote add origin [email protected]:site/site.git
git push -u origin master

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question