Tag: osx

git push over sshfs failing with “error when closing sha1 file: Bad file descriptor”

We are mounting a filesystem over SSH using sshfs and are using it as a remote storage for git repository collaboration. Mac OSX 10.6.6 to a RHEL 3 server SSHFS version 2.2 (MacFUSE SSHFS 2.2.0) MacFUSE library version: FUSE 2.7.3 / MacFUSE 2.0.3 sshfs -o workaround=rename gituser@gitserver.ourdomain.com:/path/to/directory ~/git Here’s how we’re creating our repo’s, working […]

Is there a good git client for Mac OS X that has all the bells and whistles of Conerstone or Versions for Subversion?

I am wiling to pay good money for it if it has all the most common features and polished look. Also, I’ve seen gitx and I am asking if there are any other GUI clients besides gitx.

how to sync a “shadow” git repository with a main repository “secretly”

I have a client that I do work for via a git repository. I do not want for him to know that I am partly using another developer. I have therefore created a “shadow” repository, that my developer is using. How to sync the “shadow” repository with the main repository so that the main repository […]

git branch switch takes half a minute?

Got an more powerful and fresh machine from work, starting installing dev tools and this is simply nightmare, I’ve never ever had performance issues with git on the old machine. Here it is beyond reason: ons-mbp:spec ALE$ time git checkout fsfs Switched to branch ‘fsfs’ real 0m30.080s user 0m0.007s sys 0m0.006s ons-mbp:spec ALE$ time git […]

Implement .gitignore behavior in a shell script?

I’m writing a shell script that syncs files and I want to give users the ability to exclude certain files from syncing by creating a .syncignore file similar to Git’s .gitignore file. According to the gitignore documentation, and my own experiments, these exclusion rules are more complicated than a simple glob match. Some examples: If […]

SSH key stop working on MAC OS Sierra 10.12.3 in source tree

Source tree was working fine using SSH but after upgrading my mac to ‘OS Sierra’ it stop working. Giving Error Permission Denied. Please Help

Android Studio: SDK location changes for same project using Mac (OSX) and Windows

I am working on an Android Studio project where my team members use Windows and I use OSX. The problem is that when I pull new code from git and then open the project, I get all sorts of changes based on the Mac’s SDK location: First a notice when opening the project: git diff […]

How to “un-git-ify” my HD

So a few months ago, I apparently created a local repository, in the form of my user folder on my hard drive. I did this using some fool’s attempt at a Git101 documentation, and as a result I currently have 168,352 pending/unstated changes. Is there a way to not only remove the git bookmark (from […]

Where is .gitignore_global saved on OS X?

I have created a .gitignore_global file by running git config –global core.excludesfile ~/.gitignore_global However, I can’t find the file in question in my file system? Where was it saved?

Using 'git send-mail', but I am getting an error

I am trying to use git send-mail, but I am getting this error: Can’t locate Net/SMTP/SSL.pm in @INC (@INC contains: /Library/Developer/CommandLineTools/usr/../Library/Perl/5.16/darwin-thread-multi-2level /Library/Developer/CommandLineTools/usr/share/git-core/perl /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.16/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.2 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16 /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level /System/Library/Perl/Extras/5.16 .) at /Library/Developer/CommandLineTools/usr/libexec/git-core/git-send-email line 1232. I use Mac OS X v10.9 (Mavericks) recently upgraded from Mac OS X v10.7 (Lion)!!!

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