Remote repositories are your projects that resides on a server in internet or somewhere.
We need to push and pull data from the remote repositories
git remote
lists all remote repositories
origin – that is the default name Git gives to the server you cloned from
We need to push and pull data from the remote repositories
git remote
lists all remote repositories
origin – that is the default name Git gives to the server you cloned from
$
git remote -v
You can also specify -v
, which shows you the URLs that Git has stored for the shortname to be used when reading and writing to that remote
$ git pull
Pulls the data from remote repository.
No comments:
Post a Comment