magic is happening

Command to add remote origin on GIT

below is the command

git remote add origin git/repo/path.git

moreover sometimes the path of the existing repository change. In that case, we don’t add the origin, we change the existing origin with the following command

git remote set-url origin git/repo/new/path.git

Leave a Reply

Your email address will not be published. Required fields are marked *

Social profiles