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

learn more… | top users | synonyms

1
vote
1answer
29 views

Run shell and type output

I am using iTerm2. I would like to have a keyboard shortcut which runs a command and types the output at the current cursor. Example: I have a function branchName which returns/prints the current ...
0
votes
1answer
34 views

update git repository with apple script

I want to update my git Bitbucket online storage with apple script. This is the code that works in Terminal, but not when i run apple script. cd /Users/mainuser/Desktop/Projects git add -A git commit ...
0
votes
1answer
25 views

How to cd into my local git repo from an AppleScript?

I am running a Mac using OSX Yosemite v10.10.5. I want to push my local git repo to my remote using AppleScript. So the git code would be: shell git init git add README.md git commit -m "first ...
2
votes
2answers
68 views

ZSH - missing git icons

Hi I've just installed ZSH and it looks awesome but git icons are still missing and I don't know what I miss. What I should do?
0
votes
1answer
31 views

How do I make git credential-osxkeychain work correctly when I'm connected to a machine via SSH?

I setup a build machine to check out sources from Github by caching the login credential in the keychain using instructions from: https://help.github.com/articles/caching-your-github-password-in-git/ ...
0
votes
1answer
62 views

How to export and import Atlassian Source Tree from one Mac to another?

I want to migrate Source Tree (git client) bookmarks from one Mac to another one. Is there any easy way to do so?
0
votes
1answer
9 views

Standard Installation Locations for git repositories (e.g. jQuery)

I've found a few different answers, and was curious if there is a standard between it being in a folder under $HOME or something like /var?
0
votes
1answer
50 views

git not works after update to El Capitan

I have just updated my OS X to El Capitan. In previous version I have git installed with Xcode (as it was recommended settings). After updating I could not use git. git command shows. xcrun: error: ...
3
votes
3answers
414 views

What to do about recent remote code execution vulnerability in git (on El Capitan)

The recent remote code execution bug in git looks pretty serious. The way I read this is that if I'm running a git client prior to 2.7.1, I'm susceptible to remote code execution if I use git to ...
0
votes
1answer
92 views

Homebrew won't link git

I am trying to enable autocomplete for git on my mac (currently running El Capitan) but I am having troubles with Homebrew. So far, I have installed bash-completion and added the lines in my ...
3
votes
0answers
12 views

SD Card file changes don't trigger apps to update

I've recently moved my git repo to an always plugged in SD card, formatted to OS X Extended I've noticed with both SourceTree and WebStorm don't pick up on file changes anymore. Gets really annoying ...
0
votes
1answer
20 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
203 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
3answers
328 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
339 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 work....
3
votes
1answer
770 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
20 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
106 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
102 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
89 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
44 views

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

So I do echo $PATH and my path is /Users/fintan/.rvm/gems/ruby-2.2.2/bin:/Users/fintan/.rvm/gems/ruby-2.2.2@global/bin:/Users/fintan/.rvm/rubies/ruby-2.2.2/bin:/usr/local/heroku/bin:/opt/local/...
10
votes
4answers
6k 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
157 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
1answer
57 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
223 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 ...
5
votes
3answers
1k 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
708 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 haven'...
0
votes
0answers
108 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
113 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 ##########...
1
vote
1answer
394 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
3k 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
533 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
405 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 http://sourceforge.net/projects/git-osx-installer/files/git-2.2.1-intel-x86_64-snow-leopard.dmg/...
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
214 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
2k 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
64 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 ...
5
votes
1answer
5k 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
583 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
442 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
334 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 ...
1
vote
1answer
5k 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
589 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
245 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 /usr/...
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
853 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
284 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 ...