Updates
How to use Git-Tool's built in automatic update functionality to always have the latest features.
Git-Tool includes support for self-updating, however it doesn't do this automatically. Here's how to perform an update of your Git Tool installation quickly and easily from your command line.
NOTE This process will only work when upgrading from (and to) versions of Git Tool >= 1.4.0

Listing Updates

To view the list of updates, you can run:
1
λ gt update --list
2
* v1.4.0
3
- v1.3.2
4
- v1.3.1
5
- v1.3.0
6
- v1.2.30
7
- v1.2.29
8
- v1.2.28
9
- v1.2.27
Copied!
Your current version will be indicated with a *.

Updating

When you decide to update, you can do so using gt update or gt update VERSION depending on your needs.
If there are no newer updates available, you will be presented with the following message:
1
λ gt update
2
No update available
Copied!
If there is a new update available, you will be shown the following:
1
λ gt update
2
Downloading update v1.4.0...
3
Shutting down to allow update to proceed
Copied!
At this stage, if there are no other running instances of Git Tool on your system, the update will take place. If you have other running instances, you will need to exit them before the update can complete. We will never automatically shut down other Git Tool instances as they may be running important tasks.
If you wish, you can also update to a specific application version by doing the following:
1
λ gt update v1.4.1
2
Downloading update v1.4.1...
3
Shutting down to allow update to proceed
Copied!
This allows you to install beta versions of Git Tool to test out new features before everyone else (as Git Tool will never automatically update a stable release to a beta release).

Why isn't this automatic?

Good question, we've considered making updates automatic however there are a few reasons why we've decided not to.
    Git Tool is a power-user tool and we believe you should be in control of when an update gets applied.
      This also allows you to skip troublesome updates or rollback to a previous version should you encounter problems.
    Git Tool is designed to be extremely quick, delaying an operation even for the second that it takes to get a list of available updates flies in the face of that.
Last modified 20d ago