{"id":23176813,"url":"https://github.com/ryanlarge13/git-shorthands","last_synced_at":"2026-04-10T16:43:16.363Z","repository":{"id":117393074,"uuid":"570636535","full_name":"RyanLarge13/Git-Shorthands","owner":"RyanLarge13","description":"Initializing a repo to keep track of the scripts created for Linux terminals. Eventually to create an entire CLI to manage git repos even easier and help developers stay away from repetitive tasks.","archived":false,"fork":false,"pushed_at":"2024-08-17T17:32:14.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T09:41:38.937Z","etag":null,"topics":["bash-script","git"],"latest_commit_sha":null,"homepage":"","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/RyanLarge13.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":"2022-11-25T17:22:01.000Z","updated_at":"2024-08-17T17:32:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"379d6495-1656-48c1-aa1b-d5bacdab1b50","html_url":"https://github.com/RyanLarge13/Git-Shorthands","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/RyanLarge13%2FGit-Shorthands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanLarge13%2FGit-Shorthands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanLarge13%2FGit-Shorthands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanLarge13%2FGit-Shorthands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RyanLarge13","download_url":"https://codeload.github.com/RyanLarge13/Git-Shorthands/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247273493,"owners_count":20911940,"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":["bash-script","git"],"created_at":"2024-12-18T06:19:38.559Z","updated_at":"2026-04-10T16:43:16.357Z","avatar_url":"https://github.com/RyanLarge13.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Shorts (gs)\n\n**Git Shorts** is a lightweight command‑line helper that wraps common Git workflows into short, memorable commands using a single entry point: `gs`.\n\nStop typing long git commands and start shipping faster.\n\n---\n\n## 🚀 Features\n\n| Command                      | Description                                                                   |\n| ---------------------------- | ----------------------------------------------------------------------------- |\n| `gs clone \u003crepo\u003e`            | Clone one of your GitHub repositories.                                        |\n| `gs clone \u003crepo\u003e \u003cusername\u003e` | Clone another user's repository.                                              |\n| `gs init \u003crepo\u003e`             | Initialize a new repository, optionally create README.md, and push to GitHub. |\n| `gs commit`                  | Stage all changes, commit, and push.                                          |\n| `gs -p`                      | Pull latest changes.                                                          |\n| `gs -m`                      | Merge branches interactively.                                                 |\n| `gs -s`                      | Show `git status`.                                                            |\n| `gs conf`                    | Update local configuration (username, installer).                             |\n| `gs -v`                      | Show the currently installed version.                                         |\n| `gs -h` or `gs -H`           | View help.                                                                    |\n\n---\n\n## ✅ Key Benefits\n\n* Fast repo cloning with automatic dependency installation\n* Quickly initialize repos and push to GitHub in one step\n* Useful merge / pull / commit wrappers\n* Automatically persists username + package installer\n* Built‑in colored help output for quick reference\n\n---\n\n## 📦 Installation\n\n1. Download `gs` (this script).\n2. Place it somewhere in your PATH, for example:\n\n```bash\nmv gs /usr/local/bin/gs\nchmod +x /usr/local/bin/gs\n```\n\n3. (Optional) Export the function for shell use:\n\n```bash\nexport -f gs\n```\n\n---\n\n## 🧠 Setup\n\nThe first time you run any `gs` command, you will be guided through a one‑time setup:\n\n* GitHub username\n* Preferred package installer (`npm`, `pnpm`, `bun`, etc.)\n\nThis information is stored in:\n\n```\n~/.gitshorts_config\n```\n\nTo update your config at any time:\n\n```bash\ngs conf\n```\n\n---\n\n## 🌱 Examples\n\nClone one of *your* repos and install dependencies:\n\n```bash\ngs clone my-repo\n```\n\nClone someone else's repo:\n\n```bash\ngs clone cool-library torvalds\n```\n\nCreate a new repo, commit, push, and generate README.md:\n\n```bash\ngs init my-new-project\n```\n\nCommit everything and push:\n\n```bash\ngs commit\n```\n\n---\n\n## 🔧 Config File\n\nStored at: `~/.gitshorts_config`\n\nExample:\n\n```\nUSERNAME=yourGitHubName\nINSTALLER=npm\n```\n\n---\n\n## 🛠 Requirements\n\n* Bash\n* Git installed and configured\n* SSH access to GitHub\n\n---\n\n## 🤝 Contributing\n\nFeel free to fork the repo and submit PRs.\n\nBug reports / ideas welcome.\n\n---\n\n## 📄 License\n\nMIT License. Use freely and break things.\n\n---\n\n**Happy coding!** ✨\n\n```\ngs commit\n# literally all you need\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanlarge13%2Fgit-shorthands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanlarge13%2Fgit-shorthands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanlarge13%2Fgit-shorthands/lists"}