{"id":17968369,"url":"https://github.com/seletskiy/zsh-git-smart-commands","last_synced_at":"2026-03-09T19:02:02.861Z","repository":{"id":34060861,"uuid":"37846541","full_name":"seletskiy/zsh-git-smart-commands","owner":"seletskiy","description":"Wrappers for git commands to be efficient in the shell","archived":false,"fork":false,"pushed_at":"2020-08-12T10:46:07.000Z","size":10,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-20T00:40:01.990Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/seletskiy.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":"2015-06-22T09:14:24.000Z","updated_at":"2021-12-08T20:38:54.000Z","dependencies_parsed_at":"2022-07-16T09:06:13.349Z","dependency_job_id":null,"html_url":"https://github.com/seletskiy/zsh-git-smart-commands","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/seletskiy%2Fzsh-git-smart-commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seletskiy%2Fzsh-git-smart-commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seletskiy%2Fzsh-git-smart-commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seletskiy%2Fzsh-git-smart-commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seletskiy","download_url":"https://codeload.github.com/seletskiy/zsh-git-smart-commands/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245435044,"owners_count":20614817,"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-10-29T14:21:08.495Z","updated_at":"2026-03-09T19:02:02.768Z","avatar_url":"https://github.com/seletskiy.png","language":"Shell","funding_links":[],"categories":["Plugins"],"sub_categories":["ZSH on Windows","Zinit (née zplugin)"],"readme":"# zsh-git-smart-commands\n\nWrappers for common git commands so they can be used in aliases very\nefficiently.\n\nAll commands come with default git completion.\n\n# Installation\n\n## zgen\n\n```zsh\nzgen load seletskiy/zsh-git-smart-commands\n```\n\n## git-smart-commit\n\nWith arguments same as `git commit -m`. Without arguments behaves like `git\ncommit -v`.\n\nAlso, removes necessity of quotes around commit message.\n\n```zsh\nalias c='git-smart-commit'\n```\n\nThen, commits can be done via:\n\n```zsh\nc my supper commit message\n```\n\nAutocompletion always works:\n\n```zsh\nc my blah blah --am\u003cTAB\u003e\n# ==\u003e c my blah blah --amend\n```\n\n**Note**: quotes are not mandatory now.\n\n## git-smart-add\n\n```zsh\nalias a='git-smart-add'\n```\n\nWithout arguments will add all files in the repo to the index. Otherwise will\nact as specified in commmand line.\n\n## git-smart-push\n\n```\nalias p='git-smart-push seletskiy'\n```\n\nSeek for remote named as first argument, and if it is found,\nthen push changes to that remote.\n\nOtherwise push to origin.\n\n## git-smart-pull\n\n```zsh\nalias u='git-smart-pull'\n```\n\nIf working directory is dirty, then first stash changes, pull\nremote and pop changes back.\n\n## git-smart-remote\n\n```zsh\nalias r='git-smart-remote'\n```\n\nIf repo do not have remote yet, will add new remote named\norigin with url specified as first argument.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseletskiy%2Fzsh-git-smart-commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseletskiy%2Fzsh-git-smart-commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseletskiy%2Fzsh-git-smart-commands/lists"}