/git-rebase-script

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

Primary LanguageShellMIT LicenseMIT

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