Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to group git repositories by keyword/tag

How do you group multiple git repositories by keyword or tag or attribute? Do you have to manage repos in some external tool or is it possible to use a git client to find all repos that have a specific attribute?

For example, Project1 was for client X, it was built for iPad, it included a jQuery plugin, and was an experiment with responsive layouts. Project2 was built for Android and has several other attributes.

In typical project management software, I might create tags and keywords for each project so I could find all the jQuery projects, or all the Android + iPad projects.

Could you do this without the external project management software? Could you do this directly in git, or with an existing git repo manager like GitHub or Bitbucket?

like image 245
Harry Love Avatar asked Jan 09 '13 22:01

Harry Love


People also ask

How do I combine repositories?

To combine two separate Git repositories into one, add the repository to merge in as a remote to the repository to merge into. Then, combine their histories by merging while using the --allow-unrelated-histories command line option.

How will you list your tags in git?

Listing the available tags in Git is straightforward. Just type git tag (with optional -l or --list ). You can also search for tags that match a particular pattern. The command finds the most recent tag that is reachable from a commit.


1 Answers

For github you can use gitrep (external oauth app) which allow you to organize starred repos though tags assigning. It's like del.icio.us but for code.

That's how it looks like:

enter image description here

BTW, the tags on the screenshot were assigned automatically.

like image 188
om-nom-nom Avatar answered Sep 20 '22 03:09

om-nom-nom