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

learn more… | top users | synonyms

0
votes
2answers
28 views

Dropbox vs Github for dotfiles sync? [on hold]

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. Are there any advantages in this? From what ...
2
votes
1answer
26 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
4 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
10 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
61 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
55 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
56 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
12 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
87 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 ...
0
votes
1answer
716 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
334 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
367 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
137 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 ...
0
votes
0answers
427 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
0answers
51 views

Git on FAT does not diff symbolic links

I store my git repo on FAT formatted external disk to use it on Windows and on OSX simultaneously. It is well know that FAT has no symbolic links, hence symbolic links on OSX are being converted to ...
0
votes
0answers
16 views

Disassociated custom icon files

I have a project with a number of folders using custom icons. When cloning or pulling the project via git, it turns the icon resource fork of each folder into a file called "Icon?" (where the ? stands ...
0
votes
1answer
47 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 ...
0
votes
0answers
40 views

Moved hard drive, getting 'illegal instruction: 4' errors

I gave my mac to an apple store for repairs.. Its a mid 2014 core i7 macbook pro. I did a backup using CCC, and now i'm running the backup on a Mac Mini 2011 Core i5. OSX runs fine, however any tool ...
3
votes
1answer
2k 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 ...
1
vote
1answer
196 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
244 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
236 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
2k 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
396 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
42 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
172 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
986 views

How do I stop GitHub Conduit?

How do I stop GitHub Conduit and keep GitHub.app from reinstalling the job in launchd?
2
votes
2answers
569 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
173 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
306 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
128 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 ...
9
votes
6answers
3k 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
567 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
937 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
161 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
3k 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 ...
2
votes
2answers
167 views

Add AppleScripts to Git repository

I have a few AppleScript files that I would like to share with the community on GitHub. The files are located in two distinct directories: ~/Library/Scripts ~/Library/Application ...
1
vote
1answer
794 views

How do I sync/merge my local Xcode git repository with a remote git repository?

I have an Xcode project with a local git repository. How do I set it up so that I can sync/merge my local repository with a remote repository that I have already created? I've tried going to the ...
0
votes
1answer
2k views

What is .git folder and can I delete it?

I used DaisyDisk to get info about my drive. I found a folder named ".git" in my documents. Its size is about 15 GB. what is it? and can I delete it?
1
vote
2answers
7k views

How do I work around a “Could not resolve host: (nil)…” error when installing/using Homebrew?

I'm trying to install Homebrew on OS X 10.8.4, and get the following: $ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" ==> This script will install: /usr/local/bin/brew ...
0
votes
1answer
143 views

changed user path and lost aliases in .bash_profile

I reinstalled mountain lion recently and had to reset my git path. Everything was working fine until I realised I had to do it for every project so I tried to change the default system path by sudo ...
5
votes
4answers
2k views

My Automator Workflow fails because it fails to find the git command within the 'Run Shell Script' command? Need help

I have an Automator workflow and one of the actions is to clone a repository. Here's the code for the 'Run Shell Script' action. The command is run within the Bash shell /bin/bash if that matters: ...
0
votes
2answers
134 views

resetting git path after clean install [duplicate]

I just reinstalled mountain lion and seem to have lost git in the process. I tried following this post : Why is Git not found after installing OS X Lion? but although I can cd into /usr/local/git I ...
49
votes
8answers
49k views

How to properly update git on mac?

I have installed the newest version of git (1.8.3) using homebrew but when I type git --version in my terminal, it prints: git version 1.7.10.2 (Apple Git-33) What should I do to replace the old ...
0
votes
1answer
178 views

git doesn't work anymore after moving user home to external drive

I've moved my users home directory from /Users/romeovs to /Volumes/DATA/home and ever since I get a git error. Whenever I use git clone or git init it replies: fatal: Failed to expand user dir in: ...
8
votes
1answer
519 views

How to show git files in Finder?

This may be too close to a duplicate for Git plug-in for Finder?, but I'm after a tool that will merely show me whether there is a repo in the current directory, and the state of the files within. I ...