{"id":26688445,"url":"https://github.com/hashfx/git-script","last_synced_at":"2025-03-26T13:19:17.325Z","repository":{"id":282882023,"uuid":"949961199","full_name":"hashfx/git-script","owner":"hashfx","description":"shell script to ease git experience","archived":false,"fork":false,"pushed_at":"2025-03-17T12:24:36.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T13:31:19.182Z","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/hashfx.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":"2025-03-17T12:14:47.000Z","updated_at":"2025-03-17T12:24:40.000Z","dependencies_parsed_at":"2025-03-17T13:31:21.448Z","dependency_job_id":null,"html_url":"https://github.com/hashfx/git-script","commit_stats":null,"previous_names":["hashfx/git-script"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashfx%2Fgit-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashfx%2Fgit-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashfx%2Fgit-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashfx%2Fgit-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashfx","download_url":"https://codeload.github.com/hashfx/git-script/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245659044,"owners_count":20651526,"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":"2025-03-26T13:19:16.567Z","updated_at":"2025-03-26T13:19:17.314Z","avatar_url":"https://github.com/hashfx.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scripts to enhance UX of Git Script\n\n+ create script file: ```nano gitac```\n+ add the code of \u003ckbd\u003egitac.sh\u003c/kbd\u003e\n+ save file and give execution permisison ```chmod +x gitac```\n+ (optional) move it to a directory in your $PATH: ```mv gitac /usr/local/bin/```\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003egitac\u003c/b\u003e\u003c/summary\u003e\n  \u003cp\u003e\u003cbr /\u003ealias of: \u003cb\u003egit add filename1 filename2 etc \u0026\u0026 git commit -m \"\"\u003c/b\u003e\u003c/p\u003e\n  \u003cpre\u003e\n  #!/bin/bash\n\n    # Get the last argument as the commit message\n    commit_msg=\"${@: -1}\"\n\n    # Get all other arguments except the last one (file names)\n    files=(\"${@:1:$#-1}\")\n\n    # Add the files to staging\n    git add \"${files[@]}\"\n\n    # Commit with the provided message\n    git commit -m \"$commit_msg\"\n  \u003c/pre\u003e\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashfx%2Fgit-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashfx%2Fgit-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashfx%2Fgit-script/lists"}