Tag: osx

How to locate the git config file in Mac

This question already has an answer here: Where do the settings in my Git configuration come from? 4 answers

Unable to understand how Git's difftool configs are set

I needed to use in my old Git similar settings to the following to be able use difftool. The settings are not exactly the same, since I by accident removed my old .gitconfig. [merge] tool=opendiff [mergetool] tool=opendiff [difftool] difftool=opendiff I have an empty .gitconfig at Home. I can use still the opendiff -tool. This is […]

override git from Xcode with homebrew version

I’ve installed XCode and therefore git is there as well. Since i want to have a newer version of git I installed using homebrew. But the homebrew version of git is never called since my PATH looks like this /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin which means the /usr/bin/git is allways called before /usr/local/bin/git. Is there a way to change […]

How to upgrade Git to latest version on OS X?

I just bought a new Mac with OS X Lion and I checked in the Terminal what version of git is installed by default. I got the answer git –version > git version 1.7.5.4 I would like to upgrade git to the latest version 1.7.8.3, so I downloaded the dmg installer “git-1.7.8.3-intel-universal-snow-leopard.dmg” and I launched […]

Git Status Across Multiple Repositories on a Mac

I have been searching for a solution to this for a while and have not found quite what I need. I have several Git Repositories in a folder on my Mac (OSX 10.6) and would like a script or tool that will loop through all the repositories and let me know if any of them […]

how do I add /usr/local/git/bin/ to the PATH on mac osx?

Possible Duplicate: git: command not found how do I add /usr/local/git/bin/ to the PATH on mac osx? I just installed git but it is not recognizing commands. It only responds with “command git not found”, and I believe this may be the solution but I do not know how to add it to the path […]

Git hangs indefinitely – broke with osx credential helper I think

I got tired of typing my password for my bitbucket repo so I looked up a way to use ssh keys but happened upon the osx credential keychain. I thought I had installed it all correctly by following along with what was instructed in the git-scm book but something bad happened…I can’t use git at […]

Git commands not working in Mac terminal: “dyld: Symbol not found: ___strlcpy_chk” error

I am using the command git clone ssh://…. and getting the following error on the terminal: dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk Referenced from: /usr/local/git/bin/git Expected in: /usr/lib/libSystem.B.dylib dyld: Symbol not found: ___strlcpy_chk Referenced from: /usr/local/git/bin/git Expected in: /usr/lib/libSystem.B.dylib Trace/BPT trap: 5

GIT fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree

I’m trying to initialize a new GIT repo from Debian (actually a VM on Virtualbox, installed and running on Mac OS X) : [david@server-VM-001:~ $] mkdir test [david@server-VM-001:~ $] cd test [david@server-VM-001:test $] git init Initialized empty Git repository in /home/david/test/.git/ fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree. Use […]

git: command not found (on OS X 10.5)

I am receiving this error when I try to use git lately. I’m not exactly sure when the error started as I rarely use git. I used to use it. I didn’t change anything about it or my machine that I know of. Now it doesn’t work. I’ve gone through and reinstalled the latest version […]

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