top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Why is the Mac OS X version always way behind the latest Git version?

+3 votes
406 views

Is there a particular reason or is it that it's just not bothered being built that often that new versions of Git is released?

How can I build new versions of Git myself?

posted Apr 13, 2014 by Sanketi Garg

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

If you want a newer version, you need to compile the source code. For that, clone the git repository (https://github.com/git/git ), follow the instructions in INSTALL file (https://github.com/git/git/blob/master/INSTALL )

answer Apr 13, 2014 by Anderson
Similar Questions
+3 votes

Which is the latest version of Informatica and what is the difference as compare to 8.x.

0 votes

for my Linux-kernel build-script I am searching for a reliable check of getting the latest version.
This could be 'v3.x.y-stable' or 'v3.x.y-rcX'.

'git tag' seems to be fast, but not reliable.
'git log --oneline' is slow, but does the job.

For getting v3.x.y-stable this seems to work...

$ git tag | grep ^'v3.[0-9]*' | grep -v '-rc' | sort --version-sort
v3.0
v3.1
v3.2
v3.3
v3.4
v3.5
v3.6
v3.7
v3.8
v3.9
v3.10

...but not when listing v3.x.y-rcX, too:

$ git tag | grep ^'v3.[0-9]*' | sort --version-sort | grep ^'v3.10'
v3.10
v3.10-rc1
v3.10-rc2
v3.10-rc3
v3.10-rc4
v3.10-rc5
v3.10-rc6
v3.10-rc7

I know that v3.10 > v3.10-rcX, but not 'git tag' or 'sort --version-sort' :-). This seems from my poor sed/awk/grep skills to be the most reliable method...

$ time git log --oneline v3.0-rc1.. | grep 'Linux 3.' | awk '{ print
$3 }' | grep ^'3.[0-9]*' | head -1
3.10

real 0m10.024s
user 0m5.611s
sys 0m4.857s

...but is slow (even I take v3.0-rc1 as the 1st version-tag of Linux-v3.x series).

Any improvements?

+1 vote
0 votes

How to uninstall properly Git on a Mac? Unfortunately, it seems to not be documented?

+1 vote

I am trying to see the entries in my DNS resolver cache in my Macbook. But I am not aware what is the command to do the same.

...