Posts

Showing posts with the label Pushing to Remote repository

Git Fetching, Pulling from Remote repository and Pushing to Remote repository

Image
Hi, I am Malathi Boggavarapu and welcome to my blog. This tutorial describes how to fetch from remote repository, pulling from and pushing to remote repository. I have a seperate post " Git Fundamentals " in my blog which explains everything about Git but i had broken them down to smaller sections to make it easy for everyone to follow. This post will only introduce you to Git. So let's get started. Fetching from a Remote The remote repository is automatically added when we clone a repository for example from GITHUB but if i have local repo and i want to add a remote destination to it, i can use the below command to do it. git remote add origin https://github.com/.... origin  can be anything, i had chosen some arbitrary name here. So if someone sends a pull request, you can add their public repository and then pull their changes into your working local copy to examine. So you can have multiple remotes and it is done commonly in git ino...