What You Need To Know About The New Git 1.8.3

Whether you use git on the command line or via a tool of choice like Sourcetree; whether you host your code on Bitbucket or on Stash behind your company firewall, if you’re like me – wink – when a new git release comes out it’s always a party.

Smooth Upgrade Path For Gitters

The new git 1.8.3 release is out. Of course this means upgrading to the latest version. It should be relatively pain free:

For previous notes on git 1.8.2 see here.

So what’s new in this release?

As usual lots has been fixed, it seems to me that this drop packs a lot more than the previous cycle. Without further ado, let me then show you a few things that caught my interest.

Colors, Colors And More Polish Everyone

Refinement of the command line UI continues with a few neat updates:

Help Shows List Of Guides

git help -g is a new flag that will list the guides available, just like list of commands are given with -a:

    [npaolucci:~/dev/projects/stash] master ± git help -g
    The common Git guides are:

      attributes   Defining attributes per path
      glossary     A Git glossary
      ignore       Specifies intentionally untracked files to ignore
      modules      Defining submodule properties
      revisions    Specifying revisions and ranges for Git
      tutorial     A tutorial introduction to Git (for version 1.5.1 or newer)
      workflows    An overview of recommended workflows with Git

    'git help -a' and 'git help -g' lists available subcommands and some
    concept guides. See 'git help <command>' or 'git help <concept>'
    to read about a specific subcommand or concept.

Better “Triangular” Work Flow Support

git now supports a “triangular” work flow for situations where your default process is to always pull from one place and always push to a different one. To accomplish it you can now override configuration variable origin with a new remote.pushdefault and override branch.❊.remote with branch.❊.pushremote.

Improved Status For Reverts, Rebases and Bisects

git status has been improved to report when you are in the middle of a revert session, a cherry-pick or a bisect session.

Un-tracking Submodules! Finally.

If you’ve read my earlier article on git submodule you have seen that relatively simple operations were not supported too well by the submodule command line interface. Well there is good news!

Now you can say “I no longer am interested in this submodule” with git submodule deinit.

Other Nice Things Worth Mentioning

Conclusions

That’s it for now, enjoy the goodies and let me know if there are worthy items I missed in the long list of updates.

As usual follow me @durdn for more DVCS rocking.

Exit mobile version