Cross-platform CLI tool to install and configure Git + SSH
Project description
Git Setup Anywhere (Python)
A single cross-platform Python CLI tool to install, configure, and prepare Git + SSH for GitHub (or any Git host) on Windows, macOS, and Linux.
✅ Requirements
- Python 3.8+
- Internet connection
- Admin / sudo privileges are required only for installing Git
- OpenSSH installed (usually preinstalled on modern systems)
🚀 Features
- ✅ Installs Git automatically (if missing)
- ✅ Works on:
- Windows (via
winget) - macOS (via
brew) - Linux (via
apt,dnf,yum,pacman,zypper)
- Windows (via
- ✅ Interactive Git user configuration
user.nameuser.email
- ✅ Sets best-practice defaults:
init.defaultBranch = maincolor.ui = autocore.editor = nano
- ✅ SSH key generation (ed25519)
- ✅ Adds SSH key to
ssh-agentwhen possible - ✅ Displays public key for easy GitHub/GitLab setup
- ✅ Safe overwrite protection for existing SSH keys
- ✅ Clean, colorful, interactive CLI
- ✅ Open-source and fully customizable
❌ What This Tool Does NOT Do
- ❌ It does not automatically add your SSH key to GitHub (for security reasons)
- ❌ It does not manage multiple Git profiles
- ❌ It does not modify repository-level Git config
- ❌ It does not run silently without user interaction (yet)
📦 Installation
Clone the repository:
git clone https://github.com/abdullah-shaikh03/GitConfig.git
cd GitConfig
NOTE : If Windows blocks the execution temporarily allow the execution by running the following command in PowerShell:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitconfig_cli-0.1.0.tar.gz.
File metadata
- Download URL: gitconfig_cli-0.1.0.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e7efa5ace6699b9acdf79dfea660a3a32846d6a3bc730946c1801e6cee2b1d7
|
|
| MD5 |
c9c7d79c20b4cc894b35e10f4a7c23b4
|
|
| BLAKE2b-256 |
0cbbe56007f5f49f4e25fe763707043703753a96ad9df9036688dd7b73a3abca
|
File details
Details for the file gitconfig_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gitconfig_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a67acc42bc46c933579fe3aa4e5d0db024a7bfc94b4ccb27b8c46d5b97d2c4d3
|
|
| MD5 |
a080f3b7c9f75b9f60206d82fe75e01f
|
|
| BLAKE2b-256 |
0430267e99b2ba16095d3462b748f09050115930dabcfb1ed634ceee9a198785
|