mirror of
https://github.com/Snigdha-OS/snigdhaos-arctic.git
synced 2025-12-06 08:33:51 +01:00
22 lines
584 B
Bash
22 lines
584 B
Bash
#!/bin/bash
|
|
|
|
# Author : ESHAN ROY
|
|
# Author URI : https://eshanized.github.io
|
|
|
|
# NOTE : Run at your own Risk!
|
|
|
|
# Prompt user for GitHub username
|
|
read -p "Enter your GitHub username: " GITHUB_USERNAME
|
|
|
|
# Prompt user for GitHub email
|
|
read -p "Enter your GitHub email: " GITHUB_EMAIL
|
|
|
|
# Set the global Git configuration for username and email
|
|
git config --global user.name "$GITHUB_USERNAME"
|
|
git config --global user.email "$GITHUB_EMAIL"
|
|
|
|
# Confirm the changes
|
|
echo "GitHub username and email have been configured:"
|
|
git config --global user.name
|
|
git config --global user.email
|