tboy1337 / Install-Uninstall-GIT-Windows

Simple batch scripts to automate the installation and uninstallation of Git on Windows systems.
https://github.com/tboy1337
MIT License
1 stars 1 forks source link
automatic batch batch-file batch-script batchfile cmd cmdline downloader git install installer silent uninstall uninstaller windows

Install-Uninstall-GIT-Windows

Features

Requirements

Usage

Installing Git

  1. Right-click on install_git.cmd
  2. Select "Run as administrator"
  3. Wait for the installation to complete

The script will:

Uninstalling Git

  1. Right-click on uninstall_git.cmd
  2. Select "Run as administrator"
  3. Wait for the uninstallation to complete

The script will:

Default Installation Settings

The installation script configures Git with the following default settings:

You 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.

Example for saving selected options to a file during an interactive run started from the command-line:

Git-2.47.0-64-bit.exe /SAVEINF=git_options.ini

Troubleshooting

Installation Issues

Uninstallation Issues

License

This project is open source and available under the MIT License.

Contributing

Feel free to open issues or submit pull requests with improvements.