{"id":21377446,"url":"https://github.com/zeyu-li/git_initer","last_synced_at":"2026-05-19T15:02:23.902Z","repository":{"id":120381262,"uuid":"244977952","full_name":"Zeyu-Li/Git_initer","owner":"Zeyu-Li","description":"A Shell script that git inits, adds, commits when run","archived":false,"fork":false,"pushed_at":"2020-03-05T00:52:33.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-08T14:07:32.760Z","etag":null,"topics":["git","git-automation","shell","shell-script"],"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/Zeyu-Li.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":"2020-03-04T18:46:31.000Z","updated_at":"2020-11-19T13:27:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"0dac26c2-0e03-4948-900f-0fef71492be0","html_url":"https://github.com/Zeyu-Li/Git_initer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Zeyu-Li/Git_initer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeyu-Li%2FGit_initer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeyu-Li%2FGit_initer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeyu-Li%2FGit_initer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeyu-Li%2FGit_initer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zeyu-Li","download_url":"https://codeload.github.com/Zeyu-Li/Git_initer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeyu-Li%2FGit_initer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33221321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["git","git-automation","shell","shell-script"],"created_at":"2024-11-22T09:20:58.657Z","updated_at":"2026-05-19T15:02:23.885Z","avatar_url":"https://github.com/Zeyu-Li.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Initer\n\nThis Shell Script command inits, adds, and commits the current directory given a first commit message\n\n\n\n## Use\n\nTo use, simple put: \n\n```powershell\nbash cmt.sh #some commit message\n\nOR\n\nbash cmt #some commit message\n\nOR\n\n./cmt.sh\n```\n\n\n\nCode:\n\n```shell\n#!/bin/bash\n\n# gets args\ncommit_message=\"$1\"\n\n# checks if null, if so, message will be: \"first init\"\n# else, message will be arg passed in\nif [[ ! $commit_message ]]\nthen\n    message=\"first init\"\nelse\n    message=$commit_message\nfi\n\n(git init \u0026\u0026 git add . \u0026\u0026 git commit -m \\\"\"$message\"\\\")\n\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeyu-li%2Fgit_initer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeyu-li%2Fgit_initer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeyu-li%2Fgit_initer/lists"}