Tag: osx

Could not symlink share/git-core/contrib /usr/local/share/git-core is not writable

I’ve really tried and used any suggestion from repairing, over uninstalling everything, to reinstalling, etc. but no solution works. I’m completely stuck and need help to find a solution! Thanks in advance, Christoph MacBook-2:~ MyUserName$ brew install git Warning: git-2.1.3 already installed, it’s just not linked MacBook-2:~ MyUserName$ brew destroy git Error: Unknown command: destroy […]

Best practice for maintaining updated Git binaries (Git by Git) on Mac OS X 10.5?

On my Mac OS X 10.5 (Leopard) machine, I have installed Git using the git-OSX-Installer from Google Code. The installer installs Git to /usr/local/Git. I would now like to keep up with the latest stable Git release (Master branch), currently Can I run “git clone git://git.kernel.org/pub/scm/git/git.git” from within the /usr/local/Git directory, then Configure/Make/Install […]

Git Installation on OSX: Cannot exec 'git-credential-osxkeychain': Bad CPU type in executable

I am attempting to follow the directions on https://help.github.com/articles/set-up-git for getting up and running with git. I installed version However when I try to use the OS X Keychain Helper I get: fatal: cannot exec ‘git-credential-osxkeychain’: Bad CPU type in executable I am using an older but still Intel MBP (Intel Core Duo), which […]

bash __git_ps1 command not found

I am a beginner trying to setup a developer environment on my new Mac following the steps from this link: http://vanderveer.be/setting-up-my-perfect-developer-environment-on-osx-10-8-mountain-lion-10-8-2-final-edition/. After executing the files from git, my terminal window now shows: rbenv: version `1.9.3-p194′ not installed -bash: __git_ps1: command not found The first line only shows when I open a new terminal window, while […]

git fatal: multiple stage entries for merged file

Git throws an error: fatal: multiple stage entries for merged file I’ve been on the side (Getting a fatal error in git for multiple stage entries) and read the workaround: cd /patH/to/second/cloned/repo git –work-tree=/path/to/first/repo add . Now, the changes can be queried via status, but after that what i have to do now? When I […]

How to update my version of git on OSX 10.8

I’m on OSX 10.8.2 and I’m running git git v1.7.4.4 I just installed git on a remote server and it’s version 1.11.x. I’m I would like to be running the same version of the software but I cannot figure out how to update git on my laptop. I attempted to follow the steps listed here, […]

Git commands require sudo on OSX

I’ve moved back from my work MBP to my home MBP. The work one allowed to run git commands without the need for sudo. But I’m finding this is a requirement on my home machine. I would prefer to be able to run git commands without sudo. I looked at the git commands in /usr/bin, […]

How to Run Terminal as Administrator on Mac Pro

I am using a Mac for the first time and need to run Terminal as an admin. I have installed NodeJs and Git and want to download Phone Gap/Corova but when I try to install Cordova, it comes back with an error saying I should be an admin when running the terminal. How do I […]

OSX Using Beyond Compare as git difftool

When trying to launch Beyond Compare using git, I get this error: The diff tool bc3 is not available as ‘bcompare’ fatal: external diff died, stopping at plugins/PushPlugin.m Set up diff tool: $ git config –global diff.tool bc3 Try to compare directory: $ git difftool plugins Viewing (1/2): ‘plugins/PushPlugin.m’ Launch ‘bc3’ [Y/n]: y

`git -S -m commit` failing to ask for password — Signing after moving from GPG mac to GPG shell

I am setting up new machine (macOS Sierra) for web development, and I have done brew install gpg which has installed gpg2 and gpg-agent. I have copied my keys from ~.gnupg on my old mac. I am not installing the mac interface GPG Suite which I had on the old machine as I really would […]

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