Skip to content

peachjelly13/automating-github-tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

automating-github-tasks

Git Automation Script

Overview

This Bash script automates common Git operations, including:

  • Loading environment variables
  • Checking the status of the Git repository
  • Staging files for commit
  • Committing changes
  • Renaming the current branch
  • Updating the remote URL with credentials and pushing changes to GitHub

Prerequisites

  • Git must be installed on your machine.
  • A .env file containing the necessary environment variables must be present in the same directory as the script.

Environment Variables

Create a .env file in the same directory as this script with the following variables:

GITHUB_USERNAME=your_github_username
GITHUB_PASSWORD=your_github_password_or_personal_access_token
PROJECT_NAME=your_project_name

About

Automating github tasks, automating tasks that are repetitive.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages