{"id":18671650,"url":"https://github.com/sanderhelleso/cit","last_synced_at":"2025-11-06T21:30:31.914Z","repository":{"id":44977055,"uuid":"198508680","full_name":"sanderhelleso/cit","owner":"sanderhelleso","description":"🔥 Quick git for branch control and speed","archived":false,"fork":false,"pushed_at":"2022-01-15T05:00:40.000Z","size":691,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-23T16:47:12.973Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@sanderhelleso/cit","language":"JavaScript","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/sanderhelleso.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}},"created_at":"2019-07-23T21:10:21.000Z","updated_at":"2022-08-02T22:53:13.000Z","dependencies_parsed_at":"2022-09-14T05:32:13.002Z","dependency_job_id":null,"html_url":"https://github.com/sanderhelleso/cit","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/sanderhelleso%2Fcit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderhelleso%2Fcit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderhelleso%2Fcit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderhelleso%2Fcit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanderhelleso","download_url":"https://codeload.github.com/sanderhelleso/cit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239509191,"owners_count":19650736,"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-07T09:06:37.415Z","updated_at":"2025-11-06T21:30:31.813Z","avatar_url":"https://github.com/sanderhelleso.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eCIT\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cb\u003eAutomatically add branch to commit message | add, commit and push in one command | quick git.\u003c/b\u003e\u003cbr\u003e\n\u003csub\u003ecit b \"npm install me\" -n\u003c/sub\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.npmjs.com/package/@sanderhelleso/cit\"\u003e\n\u003cimg src=\"https://firebasestorage.googleapis.com/v0/b/semanta-dabd0.appspot.com/o/semanta%2Fpreview.gif?alt=media\u0026token=4c818c7f-3551-4e6d-9f55-aba2794f1f1b\" alt=\"version\"\u003e\n\u003c/a\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\nCIT is tiny and easy to use. It aims to increase the git flow where structured commits and branches are required. \n\n\u003cbr\u003e\n\n## ❯ Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install @sanderhelleso/cit -g\n```\n\n\u003cbr\u003e\n\n## ❯ Usage\n\n\n### Commit\n\n\u003cp\u003eCommit to current branch with branch name prefixed to commit message\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003csub\u003eCommit\u003c/sub\u003e\n```sh\n$ cit c \"message\"\n```\n\n\u003csub\u003eCommit and add\u003c/sub\u003e \n```sh\n$ cit c \"message\" -a\n```\n\n\u003csub\u003eCommit, add and push\u003c/sub\u003e\n```sh\n$ cit c \"message\" -a -p \"branch\"\n```\n\n\u003cbr\u003e\n\n\n### Checkout branch\n\n\u003cp\u003eCheckout to provided branch or create a new branch\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003csub\u003eCheckout existing branch\u003c/sub\u003e\n```sh\n$ cit b \"name\"\n```\n\n\u003csub\u003eCheckout new branch\u003c/sub\u003e\n```sh\n$ cit b \"name\" -n\n```\n\n\u003cbr\u003e\n\n### Add all changes to current branch\n\n\u003cp\u003eAdd all new git changes in current directory to current branch\u003c/p\u003e\n\n\u003cbr\u003e\n\n```sh\n$ cit a\n```\n\n\u003cbr\u003e\n\n\n### Push all commits to branch\n\n\u003cp\u003ePushes all commits to specified branch from the current branch\u003c/p\u003e\n\n\u003cbr\u003e\n\n```sh\n$ cit p \"name\"\n```\n\n\u003cbr\u003e\n\n\n### Show current branch\n\n\u003cp\u003eShows the current git branch of the current git project\u003c/p\u003e\n\n\u003cbr\u003e\n\n```sh\n$ cit l\n```\n\n\u003cbr\u003e\n\n## ❯ LICENCE\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanderhelleso%2Fcit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanderhelleso%2Fcit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanderhelleso%2Fcit/lists"}