Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 922 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 922 Bytes

find-my-git-pieces

A tool to help you find all the repos where you contributed in an github organisation

Usage

Installation

  1. git clone https://github.com/amishas157/find-my-git-pieces.git
  2. npm install

CLI

node index.js --org-name organisationName --username username

To get contributions in public or private repositories exclusively, you can pass --public or --private respectively. By default, it is set to all which fetches contributions to both private and public repositories.

Exporting the environment Variable

You would need to export an Environment variable GithubToken which is basically a personal access token and has full repo scope. export GithubToken=123xxxxxxx

Output

The output will be printed on console as an array of repo names

PS

You would need to be patient since it can be quite slow dependent on number of repositories in an organisation