1
0
mirror of https://github.com/namibia/tips.git synced 2024-06-02 18:31:07 +00:00

list remote reference and get list of branches

This commit is contained in:
Anchal 2015-07-16 17:39:38 +05:30
parent 0cd100f768
commit 3dcab1f843

View File

@ -51,6 +51,18 @@
"title": "Changing a remote's URL",
"tip": "git remote set-url origin <URL>"
},
{
"title": "Get list of all remote references",
"tip": "git remote || git remote show"
},
{
"title": "Get list of all local and remote branches",
"tip": "git branch -a"
},
{
"title": "Get only remote branches",
"tip": "git branch -r"
},
{
"title": "Stage parts of a changed file, instead of the entire file",
"tip": "git add -p"