Skip to content

sreesreejuks/git-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Git & GitHub Automated Setup Script

Overview

This bash script automates the process of setting up Git and generating an SSH key for GitHub integration.

πŸ›  Quick Installation

Download and Run

curl -o setup-git.sh https://raw.githubusercontent.com/sreesreejuks/git-automation/master/setup-git.sh
chmod +x setup-git.sh
./setup-git.sh

🌟 Features

  • Installs Git
  • Configures global Git username and email
  • Generates SSH key (if not exists)
  • Displays SSH public key for GitHub setup

🚨 Prerequisites

  • Ubuntu/Debian-based system
  • Internet connection
  • curl installed
  • Bash shell

πŸ’‘ What the Script Does

  • Updates package list
  • Installs Git
  • Configures Git global settings
  • Generates ED25519 SSH key
  • Displays public SSH key for GitHub

πŸ“ Example Workflow

$ ./setup-git.sh
πŸ‘€ Enter your Git username: YourGitHubUsername
πŸ“§ Enter your Git email: your.email@example.com

πŸ”’ Security Notes

  • Uses ED25519 SSH key type
  • Generates key in standard .ssh directory
  • Requires manual SSH key addition to GitHub

πŸ”— Script Source

View on GitHub

πŸ’¬ Support

Open an Issue

About

This bash script automates the process of setting up Git and generating an SSH key for GitHub integration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages