How do i add a remote git repository?
-
man page git remote: http://bit.ly/2q9TLv0
pb is the alias for the remote repository. The path can be url or ssh, github provides both.
$ git remote add pb https://github.com/paulboone/ticgit
You can see more information about the remote repository by running:
$ git remote show pb * remote pb Fetch URL: https://github.com/paulboone/ticgit Push URL: https://github.com/paulboone/ticgit HEAD branch: master Remote branches: master new (next fetch will store in remotes/pb) ticgit new (next fetch will store in remotes/pb) Local ref configured for 'git push': master pushes to master (local out of date)
© Lightnetics 2024