{"id":21377444,"url":"https://github.com/zeyu-li/git_initer_powershell","last_synced_at":"2026-05-22T14:20:26.668Z","repository":{"id":120381275,"uuid":"255086689","full_name":"Zeyu-Li/Git_initer_PowerShell","owner":"Zeyu-Li","description":"A Git initer, adder, and commits on first run 🤖. Based on https://github.com/Zeyu-Li/Git_initer","archived":false,"fork":false,"pushed_at":"2020-04-12T13:19:44.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T22:09:29.074Z","etag":null,"topics":["git-automation","powershell","shell"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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-04-12T13:19:39.000Z","updated_at":"2020-12-11T02:40:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"c24b50a9-7991-4246-883e-f6514a298650","html_url":"https://github.com/Zeyu-Li/Git_initer_PowerShell","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/Zeyu-Li%2FGit_initer_PowerShell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeyu-Li%2FGit_initer_PowerShell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeyu-Li%2FGit_initer_PowerShell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeyu-Li%2FGit_initer_PowerShell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zeyu-Li","download_url":"https://codeload.github.com/Zeyu-Li/Git_initer_PowerShell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852432,"owners_count":20358270,"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":["git-automation","powershell","shell"],"created_at":"2024-11-22T09:20:58.395Z","updated_at":"2026-05-22T14:20:21.646Z","avatar_url":"https://github.com/Zeyu-Li.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Initer\n\nThis PowerShell Script command inits, adds, and commits the current directory given a first commit message\n\n\n\nBased from my [Git_initer]( https://github.com/Zeyu-Li/Git_initer)\n\n\n\n## Use\n\nTo use, simple put: \n\n```powershell\ncmt.ps1 # some commit message here\n\nOR\n\ncmt.ps1\n# for a 'first init' commit message\n\n```\n\n\n\nCode:\n\n```powershell\n\n$commit_message=$args[0]\n\nif (! $commit_message){\n    $message=\"first init\"\n} else{\n    $message=$commit_message\n}\n\ngit init\ngit add .\ngit commit -m \\\"\"$message\"\\\"\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeyu-li%2Fgit_initer_powershell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeyu-li%2Fgit_initer_powershell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeyu-li%2Fgit_initer_powershell/lists"}