popular version control and how it gets used on OS X and iOS

learn more… | top users | synonyms

0
votes
1answer
11 views

git commit editor error 'subl -n -w'

On my ElCapitan, I have vim installed but my git commit is giving errors: $ git commit subl -n -w: subl: command not found error: There was a problem with the editor 'subl -n -w'. Please ...
0
votes
2answers
72 views

Git is very slow on OS X

Whenever I use anything Git related on my MacBook (brand-new Macbook Pro with El Capitan), it takes almost a full minute for each command. I did a simple GIT_TRACE=1 git stash and got back this: ...
1
vote
0answers
68 views

How can I determine what is hanging git on my OS X machine?

I'm trying to do a git pull on my Mac from a local repo. It is hanging. My question is, why is it hanging and how can I stop it? That is, I'm in a repo where the "remotes" are on the local ...
2
votes
1answer
118 views

How to recover files from command “git clean -df”

I accidentally run the command "git clean -df", so I lost many directories and files, I want to recover them, I don't have backup in time machine. I tried some software to recover, but they don't ...
2
votes
1answer
163 views

Using an external merge tool does not work on SourceTree

I am running OS X.10, Xcode 7 and SourceTree 2. When I select a conflicted file and Launch an external merge tool, there is a window that appears very briefly... and then nothing happens. I tried ...
1
vote
0answers
17 views

Best way for automated script to determine whether git is really installed on OS X

I can locate executables named git in several ways (basically equivalent to which git). But all of the solutions I know about are defeated by OS X's fake /usr/bin/git program, which is a hook to a ...
3
votes
0answers
72 views

permissions keep changing in git repository, anyone can tell me why?

This started happening about 2-3 weeks ago. I'm on Mac OS X Yosemite - 10.10.5 I have a git repository for a pretty big project ( there are three developers on the project), and every now and then ...
1
vote
1answer
58 views

Accidentally deleted files using GNU find -delete - how to recover?

I was playing around with OSX find and GNU find from findutils (v 4.4.2) package for learning purposes. GNU find has a -delete option, which is self-explanatory. What isn't, however, is that "Use of ...
1
vote
1answer
48 views

git auto-complete branches with checkout alias

There's this neat script to autocomplete git branches. It works fine with git checkout <tab>. But, I want to take it further. I have a checkout alias: alias co='git co'. How can I make branch ...
0
votes
0answers
38 views

What is mysteriously changing my $PATH and inserting @ symbols, and what do they mean?

So I do echo $PATH and my path is ...
8
votes
3answers
4k views

git is broken: “Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo”

My install of git seems to be broken, and it looks like somehow my Developer Tools are broken. When I try to run git, I get this error. This happens both with /usr/bin/git and /opt/local/bin/git ...
4
votes
1answer
107 views

How I can install a Homebrew recipe maintained in a separate git repository outside of /usr/local/Library/Formula?

I'm writing a quick Homebrew formula for my own private purposes (it's unlikely to be shared). I'd like to install it , but would prefer not to maintain my own local fork of Homebrew, but instead ...
0
votes
0answers
29 views

GitSupport.sh permanently running, apparently hangs

I have a niggling process that sometimes runs persistently, somewhat randomly, and sometimes cannot be cancelled. In the screenshot, there are three processes of the same running simultaneously. I'm ...
0
votes
2answers
144 views

Dropbox vs Github for dotfiles sync? [closed]

For the last few years I've been using Dropbox to sync my dotfiles. For zsh, oh-my-zsh, emacs settings etc. More people seem to be using Github for this. What are the advantages and disadvantages in ...
4
votes
3answers
386 views

Installing git on OSX 10.8 without Xcode

I'd like to setup my dev environment on my girlfriend's iMac, but she's not cool with me wasting 3GB of space, which is what Xcode takes up. She also doesn't want to/can't upgrade past 10.8 because ...
0
votes
0answers
472 views

Error :: Rename Operation not permitted

I was trying to install Git on my mac using Brew, one of the posts says here to rename after installing. But I am getting the following error. mv: rename /usr/bin/git to /usr/bin/git-apple: ...
0
votes
0answers
13 views

Can I have two source control on same laptop but different network?

sorry if it's a duplicate but I have this question. I am using Xcode 6.4 on Mac OS X 10.10.4. I am currently an obj-c developer and I am using my mac mini on both work and home. For the moment I ...
0
votes
0answers
148 views

GIT_AUTHOR variable overrides git config variables

When I commit a change, instead of using the email address I configured, git uses an invalid one of the form: MyMacUsername@NameOfMyMac.local I have tried all 3 git config commands (--global ...
0
votes
0answers
91 views

Git GUI for OSX that can show the pulled diff?

In windows TortoiseGit has the wonderful option to show the pulled diff after doing a pull. Is there a Git GUI application for OSX that can do that? I've tried SmartGit, SourceTree and the GitHub GUI ...
0
votes
1answer
87 views

What are the right post-installation procedure after installing git using Homebrew?

I installed Git using Homebrew: brew install git and then it gave some outputs $ brew install git ==> Downloading https://homebrew.bintray.com/bottles/git-2.4.0.yosemite.bottle.tar.gz ...
0
votes
0answers
15 views

Automatically clone linked repositories in OS X when following links to repos

Cloning projects from GitHub is relatively easy -- currently two clicks. First, clicking the link opens the GitHub app with a 'Save as...' dialog box that pauses attempting any downloading or cloning ...
1
vote
1answer
256 views

Terminal git:master after oh-my-zshell installation

I just installed oh-my-zshell. And my terminal looks like the image now. What is git master there? I installed oh-my-zshell on other macs, the look is not like that. I am on the root here BTW. Can ...
1
vote
1answer
2k views

Using kdiff3 as default git diff viewer on Mac OS

I have kdiff3 installed on my Mac (Version 0.9.97, 64 bit). Here's my ~/.gitconfig: [filter "media"] required = true clean = git media clean %f smudge = git media smudge %f [user] ...
1
vote
1answer
477 views

How to use proxy in terminal [duplicate]

Department of Telelcom (India) just blocked some sites in India. But, only Government-based ISPs block access those sites. Other ISPs still have these sites working. One of those sites is Github and ...
3
votes
1answer
382 views

Security update for git on mac

The latest git installers linked to from http://git-scm.com/download/mac all seem to be for snow-leopard ...
4
votes
1answer
2k views

Need help with update to latest Git using Terminal

I was trying to update to the latest Git version in my Terminal. I've no clue what I did and all I remember was that I removed the previous installed Git I think because when i run the following ...
2
votes
2answers
180 views

Git pre-commit hook that checks for open application

I am using git to manage a project that has a few binary files that need to be closed before being committed. So I need a git hook, that checks to see if the application that has these files open is ...
1
vote
1answer
1k views

How to install Social Engineering Toolkit in mac

I want to install SET from this link: https://github.com/trustedsec/social-engineer-toolkit. If I am right this is the github repository. I have brew installed can't I grab it with homebrew and then ...
0
votes
1answer
55 views

Did I really Install GIT 2.0.1?

I'm following instructions from http://coolestguidesontheplanet.com/install-update-latest-version-git-mac-osx-10-9-mavericks/ But when I type in "git --version", I'm seeing: git version 1.8.4 ...
4
votes
1answer
4k views

Setting up a git (ssh) server using OS X Server

I would like to use OS X Server to set up a git server that I can ssh into from other machines on my network. I realize that Xcode Service has repository functionality built in, but I am looking for ...
2
votes
1answer
385 views

Xcode gives .DS_Store conflict error

Me and my partner are using Xcode's built-in git to edit code together. When I tried to pull a change, I am having .DS_Store files conflict. We are both working on the storyboard and adding images ...
1
vote
1answer
371 views

“git commit -a” causes “subl -w: subl: command not found”

i am not sure what is causing this problem but i am having problems using git. It seems sublime is somehow interfering. Does perhaps anybody know how to solve this problem? I am running OSX 10.9.3. ...
0
votes
1answer
306 views

Git installation

I have installed git onto my Mac OSX v10.7.5 I have downloaded and double clicked the installer package I also ran the.sh for non-terminal programs When I try to run commands for git in the ...
0
votes
1answer
4k views

How to uninstall Git?

Anyone know how to uninstall Git? I would like to uninstall Git using the Uninstall.sh file that came in the git-2.0.1 install bundle. I am unable to find the Uninstall.sh file using Terminal. When ...
2
votes
1answer
550 views

Updating and running Git through Homebrew instead of XCode

On my new 2014 Mac (OS X 10.9 Mavericks), I have just installed Git using Homebrew. In order to install Homebrew, I had to download and install XCode 5. So now, when I enter the command which git, I ...
0
votes
1answer
45 views

Can OS X users get locked on OS X similar to on ubuntu when using git?

I have gitlab connected to my mac but when I do git push -u origin master I get 'Permission denied. Please try later' message which is what pops up when the user gets locked it seems. But here in ...
1
vote
1answer
200 views

How to run apple and custom git side-by-side

I have installed the Apple Developer Tools 5 on Mac OS X 10.9.4 which comes with Git: git version 1.8.5.2 (Apple Git-48) I also have installed Git 2.0.1 using the Mac OS X installer. How do I best ...
3
votes
2answers
2k views

Use downloaded Git instead of preinstalled Git

I am following the Lynda.com Git Essential Training. After he downloads and installs Git he enters which git and gets /usr/local/git/bin/git However when I do it I still get the preinstalled path ...
4
votes
2answers
1k views

How do I stop GitHub Conduit?

How do I stop GitHub Conduit and keep GitHub.app from reinstalling the job in launchd?
3
votes
2answers
737 views

Does Mac OS X's bash read scripts for all users (tab-completion scripts) from /opt/local/etc/bash_completion.d path?

I stumbled upon some instructions in the book "Pro Git" It suggests: Download this file : https://github.com/git/git/blob/master/contrib/completion/git-completion.bash If you use the Bash ...
4
votes
2answers
240 views

Homebrew - Upgrading software in /usr/bin

My OS X comes with a version of Git installed in /usr/bin. However, this version is older than the official stable one. I would like to upgrade it. Can I use Homebrew to upgrade this version? Or ...
1
vote
0answers
374 views

XCode commits/pushes code to GitHub but stays hooked on commit sheet

When I commit/push my code to GitHub through the XCode interface everything works fine. (Code is committed/pushed) but XCode doesn't seem to get that and wait for somethings. I have to cancel the ...
2
votes
3answers
168 views

Defining some global GIT settings to be automatically inherited

Sysnopsis Coming from a Linux background I still find Apples' modifications to the Unix hierarchy somewhat confusing. Nevertheless these subtle changes make it difficult for me to quickly do what I ...
11
votes
6answers
5k views

Completion for git commands

I recently switched from using an Ubuntu box for the last 7 years to a Mac. I have read other posts like Switching from Ubuntu to OS X and I'm lost and What is the difference between iTerm2 and ...
4
votes
3answers
672 views

Git not working over AFP

I've got a git repository on my file server which I'm connecting to via AFP. Whenever I try to do a git operation on the shared repository, such as staging a file, I get the following error message: ...
4
votes
3answers
2k views

Homebrew warning: “No developer tools installed” even though Xcode is installed

After installing Homebrew the "brew doctor" command returns: Warning: No developer tools installed. You should install the Command Line Tools. Run `xcode-select --install` to install them. …and I ...
4
votes
1answer
1k views

Can no longer ssh in to machine as git user after upgrading to Mavericks

I've got a server (just a mac mini) with two accounts: myRegularUser git (and some others) The git's home directory is in /Users/Shared/git. Since upgrading to Mavericks, I can't ssh into ...
2
votes
2answers
186 views

Sync between Mac & PC version control system

Having both a PC & Mac for work, I would like to synchronize development between both devices. I could just use Dropbox or Google Drive, but I would like to have version control (git or ...
1
vote
1answer
2k views

Does installing Command Line Tools for Xcode also install Git?

When I run git --version I get git version 1.7.12.4 (Apple Git-37), and it seems to be located at /usr/bin/git. I don't remember installing Git, but I did install Command Line Tools for Xcode in order ...
3
votes
1answer
4k views

How to Sync MacOS Applications + Preferences across multiple Macs without OS X Server?

Will the following work? If not, can someone propose better alternaives to solve this problem? Summary problem: I want to sync multiple MacBook Air's, Pro's and possibly Mini's with the same ...