User Tools

Site Tools


git_remote_ls_remote

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git_remote_ls_remote [2019/03/08 09:50]
rpjday [git remote]
git_remote_ls_remote [2019/03/08 13:27]
rpjday [git ls-remote]
Line 59: Line 59:
 <​code>​ <​code>​
 $ git remote -v $ git remote -v
-origin https://​git.kernel.org/​pub/​scm/​linux/​kernel/​git/​torvalds/​linux.git/ (fetch) +origin https://​github.com/​torvalds/​linux (fetch) 
-origin https://​git.kernel.org/​pub/​scm/​linux/​kernel/​git/​torvalds/​linux.git/ (push)+origin https://​github.com/​torvalds/​linux (push)
 $ $
 </​code>​ </​code>​
Line 67: Line 67:
 $ git remote show origin $ git remote show origin
 * remote origin * remote origin
-  Fetch URL: https://git.kernel.org/​pub/​scm/​linux/​kernel/​git/​torvalds/​linux.git/ +  Fetch URL: https://github.com/​torvalds/​linux 
-  Push  URL: https://git.kernel.org/​pub/​scm/​linux/​kernel/​git/​torvalds/​linux.git/+  Push  URL: https://github.com/​torvalds/​linux
   HEAD branch: master   HEAD branch: master
   Remote branch:   Remote branch:
Line 76: Line 76:
   Local ref configured for 'git push':   Local ref configured for 'git push':
     master pushes to master (up to date)     master pushes to master (up to date)
 +$
 </​code>​ </​code>​
  
Line 86: Line 87:
 610cd4eadec4f97acd25d3108b0e50d1362b3319 ​       HEAD 610cd4eadec4f97acd25d3108b0e50d1362b3319 ​       HEAD
 610cd4eadec4f97acd25d3108b0e50d1362b3319 ​       refs/​heads/​master 610cd4eadec4f97acd25d3108b0e50d1362b3319 ​       refs/​heads/​master
 +51b8b4fb32271d39fbdd760397406177b2b0fd36 ​       refs/​pull/​10/​head
 +02b5a6031ba7a8cbfde5d65ff9e13ecdbc4a92ca ​       refs/​pull/​100/​head
 +98eae511bd1cf61ba206c2a8efa896f22c52e005 ​       refs/​pull/​100/​merge
 +5c91199a463b2f3f6e2a256373cc86cde828c029 ​       refs/​pull/​101/​merge
 +c0cae3784a6535760fce053bb1df01caf6ea69cb ​       refs/​pull/​102/​head
 +5e2308a3e03994015082ff1cbda5ad6ba579a591 ​       refs/​pull/​102/​merge
 +0131d367fa05d8bf72f2c34140ce64a9b98b5278 ​       refs/​pull/​103/​head
 +b7f339a7f63d335135b76cfc1b28b77f3be622d4 ​       refs/​pull/​103/​merge
 +
 +... snip ...
 +
 5dc01c595e6c6ec9ccda4f6f69c131c0dd945f8c ​       refs/​tags/​v2.6.11 5dc01c595e6c6ec9ccda4f6f69c131c0dd945f8c ​       refs/​tags/​v2.6.11
 c39ae07f393806ccf406ef966e9a15afc43cc36a ​       refs/​tags/​v2.6.11^{} c39ae07f393806ccf406ef966e9a15afc43cc36a ​       refs/​tags/​v2.6.11^{}
Line 91: Line 103:
 c39ae07f393806ccf406ef966e9a15afc43cc36a ​       refs/​tags/​v2.6.11-tree^{} c39ae07f393806ccf406ef966e9a15afc43cc36a ​       refs/​tags/​v2.6.11-tree^{}
 26791a8bcf0e6d33f43aef7682bdb555236d56de ​       refs/​tags/​v2.6.12 26791a8bcf0e6d33f43aef7682bdb555236d56de ​       refs/​tags/​v2.6.12
-... big snip ...+ 
 +... snip ...
 $ $
 +</​code>​
 +
 +You can also refer to a URL:
 +
 +<​code>​
 +$ git ls-remote https://​git.kernel.org/​pub/​scm/​linux/​kernel/​git/​next/​linux-next.git
 </​code>​ </​code>​
  
git_remote_ls_remote.txt · Last modified: 2019/03/08 13:27 by rpjday