Skip to content

This script automates the process of Git rebase and provides the commit command with the last commit message directly in your clipboard.

License

Notifications You must be signed in to change notification settings

alexohima/git-rebase-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Git Rebase and Force Push Script

This script automates the process of rebasing your current feature branch onto a specified branch (default: main). Afterward, it copies the git command to commit with the previous commit message and force push the changes to the remote repository into your clipboard.

Just paste the command and hit enter.

Usage

  • Run the script with the desired branch as an optional argument. If no branch is provided, it defaults to main.
./grr.sh branch_name

About

This script automates the process of Git rebase and provides the commit command with the last commit message directly in your clipboard.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages