

#FINDING THE GIT BASH ON MAC HOW TO#
So what gives? Why does the automator workflow work for me but not for my co-worker? This post demonstrates how to create customized functions to bundle commands in a. Now on my co-worker's machine the path to git is: usr/local/git/bin, which, yes, is different because he installed git through the Google Git Installer for Mac OS X, but I didn't think it should matter because in the script the git command is not absolute path to the command and further more my co-worker can run git normally from a Bash script but when invoked directly from the Terminal. Open the terminal and type git -version to verify that the. Follow the given instructions to finish installing. Here are the steps to follow: Download the latest Git for Mac installer. Get code examples like 'how to find git config file on mac' instantly right from your google search results with the Grepper Chrome Extension. This is the simplest way of installing Git on Mac.

In fact, the output of the log.txt file says: bash: git: command not found There are three ways to install Git on Mac OS X: Git for Mac installer, Homebrew and MacPorts. The path to git on my machine (A Macbook Pro) is: /usr/bin/git (I believe I installed git on my machine through Xcode)īut on my co-worker's machine (Also a Mac Pro) the Automator App fails. Now the Automator App runs fine on my machine. How to Use Apt get Command Under Mac OSX AFTER THE GIT SOURCE CODE IS INSTALLED, AN ERROR IS REPORTED /USR/BIN/GIT: NO SUCH. The command is run within the Bash shell /bin/bash if that matters: SOURCEDIR="$"Ĭd Capture any errors with cloning process in log file

Here's the code for the 'Run Shell Script' action. I have an Automator workflow and one of the actions is to clone a repository.
