From 7b0e0e471c9f5e3bd0bdcae999f3d270a75a45a2 Mon Sep 17 00:00:00 2001 From: "Hemanth.HM" Date: Thu, 26 Jan 2017 17:06:30 +0530 Subject: [PATCH] ls-remote --- .vscode/settings.json | 3 +++ README.md | 6 ++++++ tips.json | 3 +++ 3 files changed, 12 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..4748804 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "eslint.enable": false +} \ No newline at end of file diff --git a/README.md b/README.md index c762252..ae9540c 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`. * [logs between date range](#logs-between-date-range) * [Exclude author from logs](#exclude-author-from-logs) * [Generates a summary of pending changes](#generates-a-summary-of-pending-changes) +* [List references in a remote repository](#list-references-in-a-remote-repository) @@ -1051,5 +1052,10 @@ git log --perl-regexp --author='^((?!excluded-author-regex).*) git request-pull v1.0 https://git.ko.xz/project master:for-linus ``` +## List references in a remote repository +```sh +git ls-remote git://git.kernel.org/pub/scm/git/git.git +``` + diff --git a/tips.json b/tips.json index a9ee2df..10eea9f 100644 --- a/tips.json +++ b/tips.json @@ -452,4 +452,7 @@ }, { "title": "Generates a summary of pending changes", "tip": "git request-pull v1.0 https://git.ko.xz/project master:for-linus" +}, { + "title":"List references in a remote repository", + "tip": "git ls-remote git://git.kernel.org/pub/scm/git/git.git" }] \ No newline at end of file