{"id":21113072,"url":"https://github.com/lapwat/gitkit","last_synced_at":"2025-03-14T10:13:00.825Z","repository":{"id":214552971,"uuid":"736675576","full_name":"lapwat/gitkit","owner":"lapwat","description":"Manage your git repos","archived":false,"fork":false,"pushed_at":"2023-12-30T11:34:31.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-21T04:27:26.703Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lapwat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-28T14:54:48.000Z","updated_at":"2023-12-28T14:54:58.000Z","dependencies_parsed_at":"2023-12-29T00:21:10.046Z","dependency_job_id":"f187759f-c264-4765-922c-da79caa995a8","html_url":"https://github.com/lapwat/gitkit","commit_stats":null,"previous_names":["lapwat/gitkit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lapwat%2Fgitkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lapwat%2Fgitkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lapwat%2Fgitkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lapwat%2Fgitkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lapwat","download_url":"https://codeload.github.com/lapwat/gitkit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243558484,"owners_count":20310574,"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":[],"created_at":"2024-11-20T01:38:13.451Z","updated_at":"2025-03-14T10:13:00.793Z","avatar_url":"https://github.com/lapwat.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitkit\n\nManage your Git repositories\n\n## Dependencies\n\n- cd\n- git\n\n## Installation\n\n```sh\ncargo install --path .\n```\n\n## Usage\n\n```\nUsage: gitkit [OPTIONS] \u003cCOMMAND\u003e\n\nCommands:\n  add   Clone a git repository\n  test  Clone a git test repository\n  cd    Print the path to git repository\n  sync  Commit all modifications and push them to remote\n  help  Print this message or the help of the given subcommand(s)\n\nOptions:\n  -u, --user \u003cUSER\u003e\n          GitHub username [env: USER=] [default: $USER]\n  -d, --directory \u003cDIRECTORY\u003e\n          Directory where your repositories are stored [env: DIRECTORY=] [default: ~/projects]\n  -t, --tests-directory \u003cTESTS_DIRECTORY\u003e\n          Directory where your test repositories are stored [env: TESTS_DIRECTORY=] [default: ~/tests]\n  -h, --help\n          Print help\n  -V, --version\n          Print version\n```\n\n## `cd` command\n\nThis program cannot change your current directory.\n\nThe `gitkit cd` command prints the path where the git repository should be on your system.\n\nAdd this function to your `.bashrc` / `.zshrc`:\n\n```sh\nfunction gkcd () {\n    cd $(gitkit cd $1) 2\u003e/dev/null\n    if [ $? -eq 0 ]; then\n        return 0\n    fi\n\n    cd $(gitkit cd --test $1) 2\u003e/dev/null\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flapwat%2Fgitkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flapwat%2Fgitkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flapwat%2Fgitkit/lists"}