Tag: osx

Trying to install git on OSX: cannont exec 'git-credential-osxkeychain': Permission denied`

I’m attempting to install Git on my new MBP and am following the documentation @ https://help.github.com/articles/set-up-git. I seem to have hit a snag at the point where it says : If you do not have the helper, you can download it and copy it to /usr/local/bin I navigated to /usr/local/bin in terminal and did a […]

Installing Git on OS X

I am trying to install Git on Mac OS X Leopard. I’m trying to avoid the MacPorts/Fink route. I’m also trying to avoid the installer on Google because I’ve gotten very far on my own, but if I have to I’ll go ahead and download the installer. Anyway, I have Git installed. /usr/local/bin/git. The problem […]

How to get rid of ESC[ characters when using git diff on Mac OS X Mavericks?

Since I installed OS X Mavericks, the result of the command git diff is rendering ESC[xxx characters like this: ESC[1mdiff –git a/console/org.linkedin.glu.console-webapp/decorate-grails-methods-plugin/plugin.xml b/console/org.linkedin.glu.console-webapp/decorate-grails-methods-plugin/plugin.xmlESC[m ESC[1mindex 3b65cf1..0ca5d7e 100644ESC[m ESC[1m— a/console/org.linkedin.glu.console-webapp/decorate-grails-methods-plugin/plugin.xmlESC[m ESC[1m+++ b/console/org.linkedin.glu.console-webapp/decorate-grails-methods-plugin/plugin.xmlESC[m ESC[36m@@ -15,14 +15,14 @@ESC[m ESC[mThe purpose of this plugin is to decorate various grails methods.ESC[m This used to render properly prior to installing Mavericks. I […]

Why is the following command inconsistent in my repository?

In my repository, which has mixed line endings. I am using Mac OS X, and git 1.8.3.1 I would like to renormalize this repository so that every file has line endings that agree with the .gitattributes file. To this end, I have checked out the latest change: git checkout origin/develop git reset –hard git rm […]

Update Git to Latest Version (mac)

I’m running Git version 1.6.5.1. The binary is sitting in /usr/local/git/bin. Is there an easy way to update to the latest version? Thanks

Git using wrong email address when talking to Heroku

git clone git@heroku.com:myapp.git Results in a “myoldemailaddress not authorized to access myapp” myoldemailaddress was an email address I was using on an old heroku account, but it seems to be stuck using it, I can use my new one. I’ve removed the .heroku directory, and regenerated it, it has the correct user name and password, […]

Is there a posh-git equivalent for the Mac?

I just found (and have fallen hard for) Powershell with the posh-git module installed. I’d really like something similar on my Mac. Does such an equivalent exist?

git checkout — <files> doesn't discard changes?

I have changes in my working directory that I’m trying to discard (reset to the current indexed version of the files), however, git checkout — <file> will not discard the changes. I’ve attempted to manually remove the files (rm -r files) then run git checkout — ., which displays the files as modified again. $ […]

Git doesn't work after upgrading Mac OS X El Capitain

This question already has an answer here: change xcrun developer path for Android Studio 2 answers

Homebrew update fail: “Please, commit your changes or stash them before you can merge”

I am running: brew update And I get an error: error: Your local changes to the following files would be overwritten by merge: samtools.rb Please, commit your changes or stash them before you can merge. Aborting It turns out this is a well known error. In fact, it’s mentioned on the Homebrew wiki: After running […]

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