{"id":30315755,"url":"https://github.com/ledangquangdangquang/autocreatecommitgithub","last_synced_at":"2026-05-18T15:05:08.574Z","repository":{"id":265843414,"uuid":"896727801","full_name":"ledangquangdangquang/AutoCreateCommitGithub","owner":"ledangquangdangquang","description":"Easy to use github ","archived":false,"fork":false,"pushed_at":"2025-05-15T09:20:16.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T05:38:32.745Z","etag":null,"topics":["automation","github"],"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/ledangquangdangquang.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,"zenodo":null}},"created_at":"2024-12-01T06:18:29.000Z","updated_at":"2025-05-15T09:18:53.000Z","dependencies_parsed_at":"2025-01-15T10:18:33.713Z","dependency_job_id":"dd11458d-537c-4079-a53e-102e7151710c","html_url":"https://github.com/ledangquangdangquang/AutoCreateCommitGithub","commit_stats":null,"previous_names":["quanghusst/autocreatecommitgithub","ledangquangdangquang/autocreatecommitgithub"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ledangquangdangquang/AutoCreateCommitGithub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledangquangdangquang%2FAutoCreateCommitGithub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledangquangdangquang%2FAutoCreateCommitGithub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledangquangdangquang%2FAutoCreateCommitGithub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledangquangdangquang%2FAutoCreateCommitGithub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ledangquangdangquang","download_url":"https://codeload.github.com/ledangquangdangquang/AutoCreateCommitGithub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledangquangdangquang%2FAutoCreateCommitGithub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270899520,"owners_count":24664715,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["automation","github"],"created_at":"2025-08-17T19:50:22.318Z","updated_at":"2026-03-01T11:02:40.744Z","avatar_url":"https://github.com/ledangquangdangquang.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Auto Create Commit \u0026 Push to GitHub\n\n## 🧩 Yêu cầu cài đặt\n\n### ✅ Bắt buộc\n- [x] [Git](https://git-scm.com/downloads)\n- [x] [GitHub CLI (`gh`)](https://cli.github.com/)\n\n---\n\n## 🔑 Đăng nhập Git và GitHub\n\n### Git\n```bash\ngit config --global user.name \"Your Name\"\ngit config --global user.email \"your_email@example.com\"\n````\n\n### GitHub CLI\n\n```bash\ngh auth login\n```\n\n\u003e ❗ Khi được hỏi `Authenticate Git with your GitHub credentials?`, chọn `No` và làm theo hướng dẫn mở trình duyệt.\n\n---\n\n## 🚚 Cài đặt để dùng lệnh `runGit` từ bất kỳ đâu\n\n### 🪟 Windows\n\n1. **Chạy `autoSetPath.bat`** để thêm thư mục vào `PATH`:\n\n```cmd\n.\\autoSetPath.bat\n```\n\n\u003e ✅ Sau đó bạn có thể gõ `runGit` ở bất kỳ nơi nào trong CMD mới.\n\n---\n\n### 🐧 Linux / WSL / macOS\n\n1. **Chạy `setup.sh`** để thêm thư mục vào `PATH`:\n\n```bash\nchmod +x setup.sh\n./setup.sh\n```\n\n\u003e ✅ Sau đó mở terminal mới và gõ `runGit` từ bất kỳ đâu.\n\n---\n\n## 🚀 Cách sử dụng\n\n### Cách 1: Tự động với `runGit`\n\n\u003e Đảm bảo file `runGit.bat` (Windows) hoặc `runGit.sh` (Linux) nằm trong thư mục chứa project.\n\n```bash\nrunGit\n```\n\n* Script sẽ:\n\n  * Tự tạo repo GitHub trùng tên thư mục hiện tại.\n  * Khởi tạo `.gitignore`.\n  * Tự động `init`, `add`, `commit`, `push` lên GitHub.\n\n---\n\n### Cách 2: Tự làm thủ công với Git\n\n```bash\ngit clone \u003cURL-repo\u003e\ncd \u003cfolder\u003e\n\ngit checkout -b \u003cten-nhanh-moi\u003e   # nếu muốn tạo nhanh mới\n\ngit add .\ngit commit -m \"Mô tả thay đổi\"\ngit push origin main              # hoặc tên nhánh khác\n```\n\n---\n\n## 🧠 Mẹo và thông tin thêm\n\n* Xem các nhánh trên remote:\n\n  ```bash\n  git branch -r\n  ```\n\n* Lỗi token/mật khẩu:\n\n  * Tạo token mới: [https://github.com/settings/tokens](https://github.com/settings/tokens)\n  * Dùng GitHub CLI để tránh phải nhập mỗi lần.\n\n---\n\n## ❓ Câu hỏi? Góp ý?\n\nComment trực tiếp tại repository hoặc mở issue!\n\n```\n\n---\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fledangquangdangquang%2Fautocreatecommitgithub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fledangquangdangquang%2Fautocreatecommitgithub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fledangquangdangquang%2Fautocreatecommitgithub/lists"}