Git Automation

Git Automation

These Shellscript perform pulling, committing, and pushing changes

#!/bin/bash

# Add your project directory
cd /path/to/your/project

# Pull the latest changes from the remote repository
git pull

# Add any changes to the staging area
git add .

# Commit the changes with a message
git commit -m "Update $(date +%Y-%m-%d)"

# Push the changes to the remote repository
git push

# Done
~