Helper tool for Git. The primary purpose of this tool is to make these actions easier:
- How to delete all commit history in github?
- Make the current commit the only (initial) commit in a Git repository?
- Override configured user for a single git commit
- How do I revert a Git repository to a previous commit?
go install github.com/tuanta7/gtx@latestGit Extensions
Usage:
gtx [flags]
gtx [command]
Available Commands:
auth Authenticate with GitHub
back Undo the last commit (soft reset to HEAD~1)
completion Generate the autocompletion script for the specified shell
help Help about any command
profile Show authentication and profile info
prune Reset a branch history to a single fresh commit
shadow Commit with a temporary profile for shadowing
Flags:
-h, --help help for gtx
-t, --toggle Help message for toggle
Use "gtx [command] --help" for more information about a command.