Tag: osx

Git 2.2.x updates timestamps of old pack files for no good reason

Git 2.2.0 and 2.2.1 seem to modify the timestamps of old .git/objects/pack/pack-*.pack files occasionally, for no good reason. It just changes the timestamp; the contents are identical. Debugging this is difficult as it seems to make changes only fairly rarely. I have never seen anything like this in any Git version before 2.2.0. What is […]

Git pushes files to github with wrong username

I’m trying to push my committed changes to Github using Terminal on Mac OS but it keeps saying that the access to the repository is denied to my old github user Permission to myuser/test1.git denied to “OldUser”. fatal: unable to access ‘https://github.com/”NewUser”/test1.git/’: The requested URL returned error: 403 I found some similar problems but none […]

How do I install git-imerge on OS X?

Git imerge looks pretty cool, but the README has no hints for getting it installed. Is there a quick way to try it out on a mac?

System level git config in mac

I am able to see global and local config files at usual locations. But if i type git config –system –list it gives me fatal: unable to read config file ‘/Library/Developer/CommandLineTools/usr/etc/gitconfig’: No such file or directory Any idea why it is looking there? And why it is not set? Where is system git config location […]

`git` and `less` integration in OS X terminal: prevent writing output of `less` to tty

In OS X terminal, when less is called on its own or by other programs like man, its output won’t be written to the tty after we quit less. For instance, if we run less README, we would be temporarily directed to a screen with things like SO rocks. README (END) And after pressing q, […]

Use the default merge tool with git and Mac OS X

I was changing the default merge tool of git, and an error occurred with my configuration, now my git doesn’t work. Is possible come back to the default configuration? Thanks

How to get git diff colorization also within vim when committing?

When I view git diff I see all those nice colors for removed and added lines. Yet when I git commit -av to both read and reject or accept the commit, all I have is ugly one-colored text. My .gitconfig contains: [color] diff = auto status = auto branch = auto ui = true [core] […]

How to use homebrew to get avidemux

When I do brew search avidemux it says this. No formula found for “avidemux”. Searching open pull requests… https://github.com/mxcl/homebrew/pull/8429 If I go to that page I can see that it has avidemux. So how do I get it?

Homebrew install: Failed during: git fetch origin master:refs/remotes/origin/master -n –depth=1

I ran the following command on terminal (Mac El Capitan) $ /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” and got the following error message: Failed during: git fetch origin master:refs/remotes/origin/master -n –depth=1 Additionally tried: sudo chown $(whoami):admin /usr/local && sudo chown -R $(whoami):admin /usr/local then the two commands above. Any idea how to install Homebrew? brew is […]

How to create Xcode project from already existing git cmake project?

I am new to OSx, can someone help to create Xcode project from existing code? I want to try some features of Xcode like ‘profile’. I currently use Clion for my cmake project, it is also in git repo. I simply want to import it from Xcode but it’s not that easy I guess. Here […]

Git Baby is a git and github fan, let's start git clone.