{"id":18150891,"url":"https://github.com/tboy1337/install-uninstall-git-windows","last_synced_at":"2025-04-28T17:26:08.086Z","repository":{"id":258905427,"uuid":"875877262","full_name":"tboy1337/Install-Uninstall-GIT-Windows","owner":"tboy1337","description":"Simple batch scripts to automate the downloading, installation and uninstallation of Git on Windows systems.","archived":false,"fork":false,"pushed_at":"2025-03-25T10:27:53.000Z","size":80,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T11:30:16.079Z","etag":null,"topics":["automatic","batch","batch-file","batch-script","batchfile","cmd","cmdline","downloader","git","install","installer","silent","uninstall","uninstaller","windows"],"latest_commit_sha":null,"homepage":"https://tboy1337.github.io/","language":"Batchfile","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/tboy1337.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-10-21T02:47:59.000Z","updated_at":"2025-03-25T10:27:39.000Z","dependencies_parsed_at":"2024-10-27T02:37:22.083Z","dependency_job_id":"926210ef-5456-411a-ab32-dd6b7e0cffd1","html_url":"https://github.com/tboy1337/Install-Uninstall-GIT-Windows","commit_stats":null,"previous_names":["tboy1337/install-uninstall-git-windows"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tboy1337%2FInstall-Uninstall-GIT-Windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tboy1337%2FInstall-Uninstall-GIT-Windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tboy1337%2FInstall-Uninstall-GIT-Windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tboy1337%2FInstall-Uninstall-GIT-Windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tboy1337","download_url":"https://codeload.github.com/tboy1337/Install-Uninstall-GIT-Windows/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251353929,"owners_count":21576102,"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":["automatic","batch","batch-file","batch-script","batchfile","cmd","cmdline","downloader","git","install","installer","silent","uninstall","uninstaller","windows"],"created_at":"2024-11-02T01:05:46.359Z","updated_at":"2025-04-28T17:26:08.069Z","avatar_url":"https://github.com/tboy1337.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Install-Uninstall-GIT-Windows\n\n## Features\n\n- **Automated Git Installation**\n  - Downloads Git directly from the official Git for Windows repository\n  - Configures Git with sensible defaults using an INI configuration file\n  - Performs silent installation with no user interaction required\n  - Easy version updating via environmental variable\n\n- **Thorough Git Uninstallation**\n  - Detects Git installations in multiple standard locations\n  - Closes running Git processes before uninstallation\n  - Performs complete cleanup of remaining files\n  - Handles multiple Git installations\n\n## Requirements\n\n- 64-bit Windows operating system (64-bit for installation only)\n- Administrative privileges\n- Internet connection (for installation only)\n\n## Usage\n\n### Installing Git\n\n1. Right-click on `install_git.cmd`\n2. Select \"Run as administrator\"\n3. Wait for the installation to complete\n\nThe script will:\n- Create a temporary directory\n- Download the Git installer\n- Create a configuration file\n- Install Git silently\n- Clean up temporary files\n\n### Uninstalling Git\n\n1. Right-click on `uninstall_git.cmd`\n2. Select \"Run as administrator\"\n3. Wait for the uninstallation to complete\n\nThe script will:\n- Check for Git installations in common locations\n- Close any running Git processes\n- Uninstall Git from all found locations\n- Remove remaining files and directories\n\n## Default Installation Settings\n\nThe installation script configures Git with the following default settings:\n- Main as the default branch\n- Command line Git integration\n- OpenSSH for SSH operations\n- OpenSSL for HTTPS transport\n- Windows-style line endings (CRLF)\n- Enabled credential manager\n- Enabled filesystem cache\n- Disabled symlinks\n- Disabled filesystem monitor\n\nYou can manually download `Git-2.47.0-64-bit.exe` and record the parameters to a file using `/SAVEINF=\"filename\"` if you want to change the default options set in the installer but are unsure of the parameters you want.\n\nExample for saving selected options to a file during an interactive run started from the command-line:\n\n```\nGit-2.47.0-64-bit.exe /SAVEINF=git_options.ini\n```\n\n## Troubleshooting\n\n### Installation Issues\n- Ensure you have administrative privileges\n- Check your internet connection\n- Verify that the temporary directory is accessible\n- Make sure no antivirus is blocking the download\n\n### Uninstallation Issues\n- Ensure you have administrative privileges\n- Close any applications using Git\n- If manual cleanup is required, delete Git directories manually\n- Check the Windows Event Viewer for detailed error messages\n\n## License\n\nThis project is open source and available under the MIT License.\n\n## Contributing\n\nFeel free to open issues or submit pull requests with improvements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftboy1337%2Finstall-uninstall-git-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftboy1337%2Finstall-uninstall-git-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftboy1337%2Finstall-uninstall-git-windows/lists"}