{"id":26519961,"url":"https://github.com/theaniketraj/git-setup-ceie","last_synced_at":"2025-10-03T13:37:42.618Z","repository":{"id":278859902,"uuid":"937008912","full_name":"theaniketraj/git-setup-ceie","owner":"theaniketraj","description":"Automating Git Repository with structured branches.","archived":false,"fork":false,"pushed_at":"2025-02-25T23:38:17.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T04:40:03.480Z","etag":null,"topics":["branching-strategy","developer-tools","git","git-automation","git-branching-workflow","git-setup","git-workflow","npm-package","version-control","workflow-automation"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/git-setup-ceie","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/theaniketraj.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-02-22T05:39:24.000Z","updated_at":"2025-03-09T14:36:41.000Z","dependencies_parsed_at":"2025-02-22T06:36:22.139Z","dependency_job_id":null,"html_url":"https://github.com/theaniketraj/git-setup-ceie","commit_stats":null,"previous_names":["theaniketraj/git-setup-ceie"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theaniketraj%2Fgit-setup-ceie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theaniketraj%2Fgit-setup-ceie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theaniketraj%2Fgit-setup-ceie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theaniketraj%2Fgit-setup-ceie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theaniketraj","download_url":"https://codeload.github.com/theaniketraj/git-setup-ceie/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244794345,"owners_count":20511499,"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":["branching-strategy","developer-tools","git","git-automation","git-branching-workflow","git-setup","git-workflow","npm-package","version-control","workflow-automation"],"created_at":"2025-03-21T11:37:00.789Z","updated_at":"2025-10-03T13:37:42.613Z","avatar_url":"https://github.com/theaniketraj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CEIE - Automated Git Repository Setup\n\n## 🚀 Introduction\n\nCEIE automates Git repository initialization by setting up structured branches and linking your repository to GitHub seamlessly. This tool simplifies the process, ensuring a well-defined workflow.\n\n## **Table of Contents**\n\n1. [Installation](#-installation)\n2. [How It Works](#-how-it-works)\n3. [Usage](#-usage)\n4. [Example Output](#-example-output)\n5. [Notes](#-notes)\n6. [Contributing](#-contributing)\n7. [License](#-license)\n8. [Note](#-note)\n\n## **📦 Installation**\n\nTo install CEIE globally, run:\n\n```sh\nnpm install -g git-setup-ceie\n```\n\nOr, use it directly via `npx`:\n\n```sh\nnpx git-setup-ceie\n```\n\n## **⚡ How It Works**\n\nThis tool performs the following automated actions:\n\n1. Initializes a Git repository (`git init`).\n2. Checks if a remote origin exists; if not, prompts the user to enter a repository URL.\n3. Creates an initial commit with a `README.md` file.\n4. Sets up the following branches:\n   - `main`\n   - `controlled-environment`\n   - `isolated-environment`\n5. Pushes all branches to GitHub and sets up tracking.\n\n## **🛠 Usage**\n\nRun the command in your project directory:\n\n```sh\nnpx git-setup-ceie\n```\n\nYou will be prompted to enter the repository URL if it isn't set up already.\n\n## **📤 Example Output**\n\n```sh\n🚀 Initializing Git repository...\n🔍 Checking if remote origin exists...\n✅ Remote origin already exists.\n📄 Creating an initial commit...\n✅ Initial commit created.\n✅ Creating and switching branches...\n🔀 Switching back to 'main' branch...\n📤 Pushing branches to GitHub...\n🎉 Git repository is fully set up and pushed to GitHub!\n```\n\n## **📌 Notes**\n\n- If a repository is already initialized, it won’t be reinitialized.\n- If branches exist, they won’t be recreated.\n- If the remote origin exists, it won’t prompt for a URL.\n\n## **🤝 Contributing**\n\nContributions are welcome! Feel free to submit issues or PRs.\n\n## **📜 License**\n\n[MIT License](https://github.com/theaniketraj/git-setup-ceie?tab=MIT-1-ov-file)\n\n## **📝 Note**\n\nThis project serves as the **foundation for [CEIE](https://github.com/theaniketraj/ceie)**, ensuring a streamlined and structured Git setup process. However, `git-setup-ceie` will remain **independent and fully functional**, retaining all **npm commands** indefinitely.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheaniketraj%2Fgit-setup-ceie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheaniketraj%2Fgit-setup-ceie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheaniketraj%2Fgit-setup-ceie/lists"}