A powerful Git branch merging tool that makes your merge workflow smoother and safer.
- Smart branch merging
- Enhanced error handling
- Auto-rollback to original branch on errors
- Quick push option support
- Cross-platform support (Linux, MacOS, Windows)
- Amazon Q autocomplete (MacOS only)
MergeTool {branch} # Merge specified branch
MergeTool {branch} --push # Merge and push to remote
Aliases:
gmi {branch} # Same as MergeTool {branch}
gmip {branch} # Same as MergeTool {branch} --push
bash -c "$(curl -fsSL https://raw.githubusercontent.com/iml885203/DotnetMergeTool/main/tools/install-linux.sh)"
bash -c "$(curl -fsSL https://raw.githubusercontent.com/iml885203/DotnetMergeTool/main/tools/install-osx.sh)"
Open PowerShell as Administrator and run the following command:
powershell -command "& {Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/iml885203/DotnetMergeTool/main/tools/install.ps1'))}"
bash -c "$(curl -fsSL https://raw.githubusercontent.com/iml885203/DotnetMergeTool/main/tools/uninstall.sh)"
bash -c "$(curl -fsSL https://raw.githubusercontent.com/iml885203/DotnetMergeTool/main/tools/uninstall.sh)"
powershell -command "& {Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/iml885203/DotnetMergeTool/main/tools/uninstall.ps1'))}"
Merge Tool offers the following advantages:
- More user-friendly interface
- Robust error handling mechanism
- Auto-rollback feature to prevent stuck states after merge failures
- Improved development efficiency and code quality
We welcome Pull Requests to improve this tool! Here's how to contribute:
- Fork this project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details