Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use the gift library to view all of the branches of a remote repository?

Gift is a node.js library that implements grit like functionality. To view remote branches, ordinarly I would do git branch -r, but I don't see any such functionality in the gift package.

Is it possible, using gift, to view all of the remote branches of a git repository and pull them down?

like image 800
Shamoon Avatar asked Oct 02 '22 11:10

Shamoon


1 Answers

Not currently (November 2013): it is still an active project, and it doesn't include any:

  • git branch -r, or
  • git ls-remote

That leaves you with the option to implement it (a bit like git remote was implemented), and propose a pull request.

like image 143
VonC Avatar answered Oct 13 '22 12:10

VonC