{"id":13393616,"url":"https://github.com/summitech/gitexplorer","last_synced_at":"2025-03-13T19:31:42.976Z","repository":{"id":33990019,"uuid":"165389049","full_name":"summitech/gitexplorer","owner":"summitech","description":"Find the right git commands without digging through the web.","archived":false,"fork":false,"pushed_at":"2023-01-04T21:46:30.000Z","size":2993,"stargazers_count":1842,"open_issues_count":45,"forks_count":160,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-10-26T18:30:27.018Z","etag":null,"topics":["git","gitcommands","javascript","netlify","productivity","productivity-booster","productivity-tools","react","reactjs","surge-sh"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/summitech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-12T13:10:03.000Z","updated_at":"2024-10-25T06:49:18.000Z","dependencies_parsed_at":"2023-01-15T04:01:21.454Z","dependency_job_id":null,"html_url":"https://github.com/summitech/gitexplorer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summitech%2Fgitexplorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summitech%2Fgitexplorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summitech%2Fgitexplorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summitech%2Fgitexplorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/summitech","download_url":"https://codeload.github.com/summitech/gitexplorer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243469187,"owners_count":20295704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","gitcommands","javascript","netlify","productivity","productivity-booster","productivity-tools","react","reactjs","surge-sh"],"created_at":"2024-07-30T17:00:57.114Z","updated_at":"2025-03-13T19:31:42.170Z","avatar_url":"https://github.com/summitech.png","language":"JavaScript","readme":"# GitExplorer\nTable of Contents\n\n[Intro](https://github.com/summitech/gitexplorer/blob/master/README.md#intro)\n\n[Tech Stack](https://github.com/summitech/gitexplorer/blob/master/README.md#tech-stack)\n\n[Installation](https://github.com/summitech/gitexplorer/blob/master/README.md#installation)\n\n[Makers](https://github.com/summitech/gitexplorer/blob/master/README.md#makers)\n\n[Contribute](https://github.com/summitech/gitexplorer/blob/master/README.md#contribute)\n\n[Donate](https://github.com/summitech/gitexplorer/blob/master/README.md#donate)\n\n[RoadMap](https://github.com/summitech/gitexplorer/blob/master/README.md#roadmap)\n\n### Intro\nLast year, we came across [Sarah Drasner's array explorer](https://github.com/sdras/array-explorer). It is a really cool resource for anyone to easily figure out the best JS array method to use. We loved it and decided to build something similar for Git.\n\nWebsite: [Click to find the right git commands without digging through the web.](https://gitexplorer.com)\n\nExplore and Enjoy! \n\nYou can reach us on [the official git explorer twitter handle](https://twitter.com/gitexplorer) or on [Summitech's twitter handle](https://twitter.com/summitechng).\n\n\n### Tech Stack\n\n- React\n- Netlify\n- Our first hosting platform was [Surge](https://surge.sh). Super easy to set up and very reliable :+1:. 100% recommend!\n\n\n### Installation\n```\nyarn (Install all dependencies)\n\nyarn start\n```\n\nTo try GitExplorer in a docker container, run this:\n```\ndocker-compose up\n```\n\n### Makers\nAwesome devs and designer at [Summitech](https://summitech.ng)\n\n### Contribute\nThank you for contributing to GitExplorer!\n\nPlease follow the below instructions to send a Pull Request (Search the website to make sure that this command doesn't already exist).\n\nThe data folder (inside the src directory) is where you will be operating from. The three files you should be concerned with are the `primary-options.js`, `secondary-options.js` and `tertiary-options.js` files. \n\nThese three files are responsible for the options a user can pick. \n\n`primary-options.js` contains an array of objects responsible for the options of the first select box. \n`secondary-options.js` contains an object. This object houses an arrays of objects (a mouthful :smile:), this is responsible for the second set of options a user sees when they select a primary option. \n`tertiary-option.js` file is responsible for cases where there needs to be a third \u0026 final select box.\n\n###### Steps to add a new command\n0. Please ensure you are not on the master branch. Checkout to a new branch entirely.\n1. Add an object to the array in the `primary-options.js` file. Sample Format:\n```\n { value: 'show', label: 'show/view' }\n```\n2. Add an array to the `secondary-options` file. Sample Format:\n```\nshow: [\n    {\n      value: 'repo-status',\n      label: 'status of project including staged, unstaged and untracked files',\n      usage: 'git status'\n      nb: 'To know about this command, \"run git status --help\"'\n    },\n    {\n      value: 'logs',\n      label: 'commit logs/history'\n    },\n  ```\n  The `nb` is optional. It is responsible for what the user sees in the notes section. \n  \n  `\\n` is used to insert newline.\n  \n  3. To add tertiary options, remove the `usage` and `nb` key/value pair for that command in the `secondary-options.js` file e.g..\n  \n   ```\nshow: [\n    {\n      value: 'logs',\n      label: 'commit logs/history'\n    },\n  ```\n  \n  then supply `tertiary-options.js` file the necessary data e.g.\n  ```\n  logs: [\n    {\n      value: 'all',\n      label: 'all',\n      usage: 'git log',\n      nb: 'Type q in the terminal to exit the logs'\n    },\n    {\n      value: 'last-n-commit',\n      label: 'for last xxx number of commits',\n      usage: 'git log -n',\n      nb: 'Replace n with number of commits e.g. git log -2'\n    },\n    {\n      value: 'particular-period',\n      label: 'since a particular period',\n      usage: 'git log --since=period',\n      nb: 'Replace period with intended timeframe e.g git log --since=3days. You can use dates like 2018-12-31.\\n\\n Similar flags are --until, --before, --after'\n    }\n  ]\n  ```\n4. Once you are done, add, commit, push and create a PR to Master.\n\n### Donate\n\n You can also contribute to the continued success of the project via donation. Please click this [link](https://rave.flutterwave.com/donate/bavfmdlomzs2).\n\n ### RoadMap\n\n - [x] Enforce HTTPs \u0026 offline capabilities\n - [x] Open source\n - [ ] PWA\n - [ ] Shareable commands\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsummitech%2Fgitexplorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsummitech%2Fgitexplorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsummitech%2Fgitexplorer/lists"}