#cli #git #vcs

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
mohammed-samgan-khan

Hi, I am Samgan, I excel at solving complex problems involving logic and step by step breakdown of the problem. Besides, to develop complex algorithms, I specialise in problem framing, systems design, and product development strategy. Sometimes I also enjoy public speaking.  

I am also the creator of penit.ink, a site which provides young writers with a free hand place to show their creation to the world. Irrespective of the niche, if you write this place is defiantly for you.