Skip to content

Commit 3dcab1f

Browse files
committed
list remote reference and get list of branches
1 parent 0cd100f commit 3dcab1f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tips.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,18 @@
5151
"title": "Changing a remote's URL",
5252
"tip": "git remote set-url origin <URL>"
5353
},
54+
{
55+
"title": "Get list of all remote references",
56+
"tip": "git remote || git remote show"
57+
},
58+
{
59+
"title": "Get list of all local and remote branches",
60+
"tip": "git branch -a"
61+
},
62+
{
63+
"title": "Get only remote branches",
64+
"tip": "git branch -r"
65+
},
5466
{
5567
"title": "Stage parts of a changed file, instead of the entire file",
5668
"tip": "git add -p"

0 commit comments

Comments
 (0)