This post originated from an RSS feed registered with Java Buzz
by Mathias Bogaert.
Original Post: What You Need To Know About The New Git 1.8.3
Feed Title: Scuttlebutt
Feed URL: http://feeds.feedburner.com/AtlassianDeveloperBlog
Feed Description: tech gossip by mathias
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: Just type brew update && brew upgrade git if you use homebrew on OSX (due to a last minute bug discovered in parsing .gitignore on OSX, homebrew hasn’t distributed the upgrade yet). Use a magic apt trick if on Ubuntu based distributions (I leave other distributions as an exercise for the reader). Simply run the new installer if on Windows (the Windows port sometimes lags a bit behind so please be patient if you can’t find it right away). 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: During a git rebase session the prompt string generator (in contrib/completion/) will show how many changes there are in total and how many have been replayed. git branch -v -v can now paint the name of the branch it integrates with in a different color (color.branch.upstream, defaulting to blue): 1234npaolucci:~/dev/projects/stash] master ± git branch -v -v 1.3 3a7ec9d [origin/1.3] Merge pull request #765 from STASH-2808-... gmail-renders 128fe79 [origin/gmail-renders] made pattern DOT_IN_WORD... * master 66865b0 [origin/master] Automatic merge from 2.4 -> master git log –format now sports a %C(auto) token that tells Git to use color when resolving %d (decoration), %h (short commit object name), etc. for terminal output. git count-objects gained a –human-readable and -H option to show various large numbers in Ki/Mi/GiB scaled as necessary: 12[npaolucci:~/dev/projects/stash] master ± git count-objects -H 169 objects, 680.00 KiB 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: 1234567891011121314 [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 [...]