Details
Read the docs here for details
Installation
For macOS
-
Download the binary
curl -L -o git-branch-updater https://github.com/paolojulian/git-branch-updater/releases/download/v1.0.0/git-branch-updater-darwin-amd64
-
Make it executable
chmod +x git-branch-updater
-
(Optional) Make it executable globally, if you trust me enough.
sudo mv git-branch-updater /usr/bin/git-branch-updater
-
Bypass "cannot be opened because the developer cannot be verified
sudo xattr -d com.apple.quarantine /usr/local/bin/git-branch-updater
For Linux
-
Download the binary
curl -L -o git-branch-updater https://github.com/paolojulian/git-branch-updater/releases/download/v1.0.0/git-branch-updater-linux-amd64
-
Make it executable
chmod +x git-branch-updater
-
(Optional) Make it executable globally, if you trust me enough.
sudo mv git-branch-updater /usr/bin/git-branch-updater
For windows
- Download the git-branch-updater-windows-amd64.exe binary.
- Add the directory containing git-branch-updater-windows-amd64.exe to your PATH environment variable.
- Now you can run git-branch-updater from the command line.
Commands
-
Pull and merge dependent function
$ git-branch-updater branch-name/another-branch/another-one
-
Just pull latest changes from remote to local
$ git-branch-updater branch-name/another-branch/another-one --update-only