Skip to content

Shorten your git add, commit and push processes to github in just one command.

License

Notifications You must be signed in to change notification settings

xgilarb/xhortpush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

xhortpush

Shorten your git add, commit and push processes to github in just one command.

User Instructions

Configuration:

Replace <YOUR_USERNAME> with your GitHub username.
Replace <YOUR_PERSONAL_ACCESS_TOKEN> with your GitHub personal access token.

Make the script executable:

After that, run this command on your terminal to gain execution access.

chmod +x gitpush.sh

How to use:

To use this script, run inside of your local Repo if you want to make
git add, commit, and push it into your GitHub Repo,

./gitpush.sh "Your commit message"

This script automates the process of adding files, committing changes, and pushing
to GitHub using the provided credentials. Ensure to replace placeholders with your
actual GitHub credentials before running the script.

I suggest you to create an alias in your .bashrc or .zshrc (depending on what shell you use)
to make it easier to use in a different location where your local repo is stored.

About

Shorten your git add, commit and push processes to github in just one command.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages