Git Add Remote Repository
In this chapter of Git Tutorial, You will learn how to add a remote git repository in your local project directory. For example, you are working on a project for many days, but have still have not added this project under Git. Now you have created a remote git repository and want to add your project under it.
Local Project Dir: /home/rahul/app1
Remote Git URL: git@remote.example.com:projects/app1.git
Add Remote Repository
Now navigate to your project directory and use the git remote add command to connect the local directory to the remote repository.
Check Remote URL
To check the remote URL in the local copy of code using the following command. As a result, you will see two URLs one for fetch and one for push operations.
0 Comments
CAN FEEDBACK
Emoji