Can I pull a specific commit with composer?

Is it possible to fetch a certain pull request with composer? Like a specific commit from a fork? What would the directive look like? edit: context This would be helpful so I don’t have to wait for a new tag to be created. I am certain it will be merged, however I don’t know if […]

Eclipse shortcut for Compare With Head Revision

I want to have a keyboard shortcut for comparing the current open buffer with the HEAD version of that file. This is available in the context menu by clicking Compare With/Head Revision. I tried to add a key binding in Preferences/General/Keys, but the key binding is ignored. I can set (and use) shortcuts for Compare […]

Avoid recompilation with git and make

I have two development branches in git and I frequently need to change between the two. However, the really frustrating thing is that every time I change branches in git, the entire project gets rebuilt because the file-system timestamps for some files will change. Ofc, the makefiles are configured to build the project into two […]

Bitbucket git push as user

1) I create a new repo on bitbucket using the main TEAM user. 2) Then i add all development keys that will be able to download this repo. 3) Went to a server and made a clone of this repo using the command: git clone ssh:// 4) I made some changes to the code and […]

Revert to local commit?

I’ve pulled code down from my repo which has messed things up. I’d like to revert my entire project to my last local commit. How would I do this?

Git GUI Crash Signal 6

I am using git version 1.9.2 with Xcode6-Beta3. At beginning, git gui works properly. For some reason (which I don’t know…) when typing “git gui” on Terminal, I got the following crash message: * Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Error (1000) creating window shape’ SOME CALL STACK INFO libc++abi.dylib: terminating with uncaught […]

git svn – Unrecognized URL scheme error

I’m getting the following error on attempt to clone svn rep with git svn: eugene$ git svn clone here Initialized empty Git repository in /Users/eugene/Documents/workspace/test/here/.git/ Bad URL passed to RA layer: Unrecognized URL scheme for ‘’ at /usr/local/git/lib/perl5/site_perl/Git/ line 148. svn checkout works just fine. I’ve re-run cpan SVN::Core and install finished fine, […]

How to refer to a previous commit in git commit message

Is there a convention for referring to a previous commit in a git commit message? Example commit message: Fixed bug such and such introduced in a1b2c3e4 In particular, is there a convention that will understand, and convert to a link?

point gem branch path in gemfile

How to point gem branch path in gemfile. This is what i am doing : gem ‘rails’, path: ‘/home/ubuntu/workspace/Fork/rails’, :branch => ‘any_of’ but when i run bundle update, it’s not show any branch like sprockets-rails. Using sprockets-rails (2.0.0.rc4) from git:// (at master) Using rails (4.1.0.beta) from source at /home/ubuntu/workspace/Fork/rails Is there any typo?

Git – how to keep CRLF endings for specific files only?

In my project, the build result is a ZIP archive containing a .jar, several HTML files, a bash script, and a Windows .cmd file. Now, I would like to add the Windows .cmd file to git, keeping the CRLF line format. The rest of the project is Linux-style LF. I have found several questions […]

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