npm not respecting https://insteadof=git://

when running npm install i get the following error npm WARN `git config –get remote.origin.url` returned wrong result (git://github.com/substack/esprima) npm WARN `git config –get remote.origin.url` returned wrong result (git@github.com:substack/esprima) npm ERR! git clone git@github.com:substack/esprima Cloning into bare repository ‘C:\Users\ebic\AppData\Roaming\npm-cache\_git-remotes\git-github-com-s ubstack-esprima-622885ba’… npm ERR! git clone git@github.com:substack/esprima ssh: connect to host github.com port 22: Bad file number […]

How to overwrite local files with a specific Heroku release version?

I made a series of small commits to an Heroku app without realizing something broke. I was able to rollback to previous versions and found the last working version. I’m not sure what the proper git wordage is here (I guess either clone or pull). To clarify I want to replace all of my local […]

How to start and run a command from git from Command Line

I want a batch file to run a shell script from git bash without any input from the end user.

Git push – select: Not enough memory

For a game development project we have a git repo which has large binary files. They vary between 10-70MB and ~700MB in total checkout size. I’m using the following software: Windows 7 64-bit Git [git version 1.9.4.msysgit.2] + open-ssh Tortoise windows client 64-bit When I try to push (initial push) to github I get the […]

mac bundle install for jekyll error occurs

when i perform bundle install on mac this occure Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /usr/local/Cellar/ruby/2.1.2_2/bin/ruby -r ./siteconf20140725-85993-z0wc6r.rb extconf.rb Building nokogiri using packaged libraries. —– libiconv is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies. —– *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary […]

Package contents hidden after github merge

I was using Github and Git to upload a repo and the code from my intellij Packages using command line. I must have done a merge or a pull request or something along that line, when my classes just randomly disappeared from the package like so: Packages But the classes are in the packages when […]

How to install a tagged commit from a local Git repository using Composer?

I’d like to install a specific tag from a local Git repository using Composer. That is what I got in my composer.json: { …, “repositories”: [ { “type”: “vcs”, “url”: “git@192.168.1.24:vendor/project.git” } ], “require”: { “vendor/project”: “dev-master#v2.5.0” }, “minimum-stability”: “dev” } Problem is that Composer just installs the latest commit, not the one which is […]

Redeploying an early deployment using Visual Studio Online with Git For continuous delivery to Azure

I’m setting up continuous delivery to Azure using Visual Studio Online with Git repository for a website using a free Azure trial account in visual studio 2013. In Azure portal, all successful deployments are listed under the Deployments tab for that website. But when I want to redeploy an earlier deployment, I get following error […]

git reset –hard isn't resetting the files

I’m using git-tfs and I’m having issues with files changing arbitrarily. When I run git reset –hard it says I’m at the appropriate commit, but that I still have pending changes. Can anyone explain what’s going on here? And here’s my config

Git force prompt username over ssh

Using Git, how do I force prompt for username on a linux server? I am on a remote host where multiple users have access (using same account/webserver) and the only way I have found is to change the username in the config file every time I want to pull from our dev server. I’ve found: […]

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