Skip to content

Commit 7b0e0e4

Browse files
committed
ls-remote
1 parent 3261e1f commit 7b0e0e4

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"eslint.enable": false
3+
}

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
154154
* [logs between date range](#logs-between-date-range)
155155
* [Exclude author from logs](#exclude-author-from-logs)
156156
* [Generates a summary of pending changes](#generates-a-summary-of-pending-changes)
157+
* [List references in a remote repository](#list-references-in-a-remote-repository)
157158

158159
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
159160
<!-- @doxie.inject end toc -->
@@ -1051,5 +1052,10 @@ git log --perl-regexp --author='^((?!excluded-author-regex).*)
10511052
git request-pull v1.0 https://git.ko.xz/project master:for-linus
10521053
```
10531054
1055+
## List references in a remote repository
1056+
```sh
1057+
git ls-remote git://git.kernel.org/pub/scm/git/git.git
1058+
```
1059+
10541060
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
10551061
<!-- @doxie.inject end -->

tips.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,4 +452,7 @@
452452
}, {
453453
"title": "Generates a summary of pending changes",
454454
"tip": "git request-pull v1.0 https://git.ko.xz/project master:for-linus"
455+
}, {
456+
"title":"List references in a remote repository",
457+
"tip": "git ls-remote git://git.kernel.org/pub/scm/git/git.git"
455458
}]

0 commit comments

Comments
 (0)