{"id":13465009,"url":"https://github.com/captainsafia/giddy","last_synced_at":"2025-07-11T13:05:55.680Z","repository":{"id":149013809,"uuid":"89892300","full_name":"captainsafia/giddy","owner":"captainsafia","description":"A CLI wrapper around git for an improved developer experience","archived":false,"fork":false,"pushed_at":"2017-07-21T00:39:32.000Z","size":11,"stargazers_count":147,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T01:44:19.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/captainsafia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-05-01T02:43:49.000Z","updated_at":"2024-10-25T10:40:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"7156aef9-b1cc-4e90-8629-e245ebdd2122","html_url":"https://github.com/captainsafia/giddy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/captainsafia/giddy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainsafia%2Fgiddy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainsafia%2Fgiddy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainsafia%2Fgiddy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainsafia%2Fgiddy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/captainsafia","download_url":"https://codeload.github.com/captainsafia/giddy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainsafia%2Fgiddy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264815691,"owners_count":23667998,"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-07-31T14:00:54.933Z","updated_at":"2025-07-11T13:05:55.652Z","avatar_url":"https://github.com/captainsafia.png","language":"JavaScript","funding_links":["https://www.paypal.me/captainsafia"],"categories":["JavaScript"],"sub_categories":[],"readme":"# giddy\n\ngiddy is a command line tool designed to help you manage your git workflow.\nIt addresses some of the gaps that I've found in git's user experience and\nprovides some helpful aliases for dealing with common git pitfalls. If you've\nexperienced any pitfalls or user experience hiccups with git that you think\nshould be addressed in giddy, please submit an issue.\n\nIf you think giddy is totally rad, you should \n[give Safia some money](https://www.paypal.me/captainsafia).\n\n## Installation\n\n```\nnpm install --global giddy\n```\n\n## Usage\n\n### Stage and Undo\nThe `git add` and `git rm` commands can be a little opaque to new git users. In\norder to more transparently communicate what they do, `giddy stage \u003cfile\u003e` runs\neither `git rm \u003cfile\u003e` or `git add \u003cfile\u003e` for a given file depending on whether\nor not it has been removed from the project. \n\n`giddy undo \u003cfiles\u003e` undoes unstaged changes to a file by checking out the\nversion of the file associated with the most recent commit. `git undo --all`\nundoes unstaged changes to all files in the project.\n\n### Revision History Traversal\nSometimes it's helpful to browse through changes in a project commit\nby commit. giddy provides a few simple commands for traversing the\nrevision history for a particular project.\n\n`giddy back` goes backwards one commit in the revision history. For example,\nin order to go back three commits into the project, a user can input the following\ncommands.\n\n```\n$ giddy back\n$ giddy back\n$ giddy back\n```\n\n`giddy forward` goes forward one commit in the revision history until the user\nhas hit the most recent commit for a project. For example, to navigate back\ntwo commits and forward one, a use can input the following commands.\n\n```\n$ giddy back\n$ giddy back\n$ giddy forward\n```\n\nThese actions will happen in detached HEAD mode.\n\n`giddy latest` takes the user to the most recent commit in the revision\nhistory regardless of where they are.\n\n### giddy-oops\nThe giddy-oops command is designed to provide shortcuts to handle common git pitfalls\nlike accidently committing a sensitive file to the repository, forgetting to stage a\nfile onto a commit, or undoing the most recent commit.\n\nIn order to undo a commit of a sensitive file and remove all references to that file\nfrom the revision history, the user can run the following command.\n\n```\ngiddy-oops no-git super-secret-file.env\n```\n\nIn order to stage a file onto an existing commit, you can run the following command.\n\n```\ngiddy-oops missed i-totally-forgot-to-stage-this.txt\n```\n\nHappy gittin'!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptainsafia%2Fgiddy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptainsafia%2Fgiddy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptainsafia%2Fgiddy/lists"}