Tag: osx

GIT / RubyMine (Leopard) – can't pull but I can commit and push

Ive got weird problem My system is Snow Leopard (10.6.4) – I can’t make pull from my RubyMine but I can make commit and push. The best thing is that when I run terminal and type “git pull” it works fine. In ruby mine console there are some errors: /usr/local/git/libexec/git-core/git-sh-setup: line 71: basename: command not […]

Installed Git + EGit and Then “No Companion Library Found” Error Occurs!

Trying to use git with eclipse. Downloaded x64 bit version of Git using http://code.google.com/p/git-osx-installer/downloads/list?can=3. Then installed the EGit tool. I then see: The Eclipse executable launcher was unable to locate its companion shared library. Very confused. Any help is greatly appreciated! 😀

Can't add files to git in current directory anymore

git seems to have suddenly gone a bit haywire on my machine. chris-greenings-macbook-2:tankgame chris$ pwd /Users/chris/Work/Tanks/Android/tanks/src/com/cmgresearch/tankgame chris-greenings-macbook-2:tankgame chris$ ls GL2JNIActivity.java IKeyboardServices.java Properties.java SoundEngine.java_free GL2JNILib.java OrientationListener.java Properties.java_free TouchEvent.java GL2JNIView.java OrientationManager.java SoundEngine.java chris-greenings-macbook-2:tankgame chris$ git status # On branch master # Changes not staged for commit: # (use “git add/rm <file>…” to update what will be committed) […]

Mac Os X – Xcode4 and remote git-repository (and a local repository on the Mac)

i am git/mac-newbie… I coding with Xcode 4 and want now a remote git repository (for other persons and me). I want the remote repository on my mac and a local copy too (like the local repository’s on the other computers) I started with creating a repository: git init git add . . . . […]

Configuring 'git help' to open kernel.org reference

I’ve got git installed on my mac and either forgot or decided not to install the local docs. On my windows install however, when I use git help command it actually opens the corresponding documentation on kernel.org. Can this be configured for my mac install as well? If so how?

git actions are asking me for username / password on some directories and not for others

I have an SSH key setup for git (using github) that works great. However – I recently started working on a certain directory (with a few git repositories under it) and on those repositories – each action I do – requires me to use a username and password. Any other directory – everything works well. […]

How can I 'filter' the content of a file on the filesystem?

I’d like to make it so that when I’m running dev_appserver.py or appcfg.py (executables used by Google AppEngine), they saw my source files with the API keys and other sensitive data they need to contain in order to run, but I’d like to avoid including that information in my git repo. Right now I have […]

Git config using shell command

I have a alias that does a short status, parses it with sed then adds the files to the ‘assume-unchanged’ index of git. However, the issue seems to be a simple problem with my understanding of escaping single quotes in OS X bash. irm = !sh -c ‘git ignore $(git st –short -u | sed […]

Git post-receive over HTTP in OS X

My setup is: 1. OS X runnig apache server for Git storage. 2. My directory for Git projects is here: /Library/WebServer/Documents/CI 3. I’ve followed this tutorial: http://www.pkgbox.org/wordpress/2011/08/setting-up-a-git-server-on-macos-x-lion/ and setted up Git access over HTTP 4. My gitrepo.conf is like: DavLockDB “/var/www/DavLock/Lock” DavMinTimeout 28800 <Directory /Library/WebServer/Documents/CI> DAV On Deny from all AuthType Basic AuthName “Area51 git […]

How do I ignore filemode changes in Git after conflict resolution?

I’m seriously about to stop coding and become a carpenter. This problem has had me stressed out for quite some time now and there doesn’t seem to be any clear solution, other than forcing non-windows machines to use the file permissions windows seems to inflict. Let’s begin with the scenario. I have 2 development machines, […]

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