https://github.com/tboy1337/install-uninstall-git-linux
Simple BASH scripts to automate the installation/updating and uninstallation of Git on Linux and Mac systems.
https://github.com/tboy1337/install-uninstall-git-linux
automatic bash bash-scripting cmdline downloader git install installer linux mac macos shell silent uninstall uninstaller
Last synced: 2 months ago
JSON representation
Simple BASH scripts to automate the installation/updating and uninstallation of Git on Linux and Mac systems.
- Host: GitHub
- URL: https://github.com/tboy1337/install-uninstall-git-linux
- Owner: tboy1337
- License: mit
- Created: 2024-11-06T21:53:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-12T09:49:34.000Z (about 1 year ago)
- Last Synced: 2025-05-28T10:07:48.526Z (about 1 year ago)
- Topics: automatic, bash, bash-scripting, cmdline, downloader, git, install, installer, linux, mac, macos, shell, silent, uninstall, uninstaller
- Language: Shell
- Homepage: https://tboy1337.github.io/
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
# Install-Uninstall-GIT-Linux 🚀

A simple yet powerful set of Bash scripts to install, update, and uninstall Git on Linux systems. Perfect for automating Git setup in your development environment!
## 🌟 Features
- **Easy Installation**: One-command setup for the latest Git version.
- **Seamless Updates**: Quickly update Git to the newest release.
- **Clean Uninstall**: Remove Git completely without leaving traces.
- **Linux-Focused**: Optimized for popular distributions like Ubuntu, Debian, etc.
## 📋 Prerequisites
- A Linux system (tested on Ubuntu 20.04+)
- Root privileges (scripts use sudo)
- Internet connection for downloading packages
## 🚀 Quick Start
### Install or Update Git
Run the installation script:
```bash
sudo bash install_update_git.sh
```
This script will:
1. Add the official Git PPA (for Ubuntu/Debian).
2. Update package lists.
3. Install or upgrade Git to the latest version.
### Uninstall Git
To remove Git:
```bash
sudo bash uninstall_git.sh
```
This will:
1. Remove Git packages.
2. Clean up any residual files.
3. Remove the PPA if added.
## 📖 Detailed Usage
- **install_update_git.sh**: Checks if Git is installed, adds PPA if needed, and installs/updates Git.
- **uninstall_git.sh**: Safely uninstalls Git and removes configurations.
## ⚠️ Warnings
- Always back up important data before running uninstall scripts.
- These scripts require sudo; use with caution.
## 📄 License
This project is licensed under the terms of the LICENSE.md file included in the repository. See [LICENSE.md](LICENSE.md) for details.
## 🤝 Contributing
Feel free to fork, submit issues, or pull requests! Let's make Git management even easier.
Happy coding! 🎉