'How can I use an existing repository for a new project?

Unfortunately I have pushed the code of my other project into a repository which I had created for my new project. Now, when I am pushing code of my new project into the repository, an error is showed saying that the remote already exists. How can I solve the problem?

git


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source