Specified 'sqlite3' for database adapter, but the gem is not loaded

I’m trying to deploy my rails app to my VPS. But I’m running into an error. Gem::LoadError: Specified ‘sqlite3’ for database adapter, but the gem is not loaded. Add `gem ‘sqlite3’` to your Gemfile. In my gemfile I have gem ‘sqlite3′ I’ve removed the gemfile.lock and did a bundle install and bundle update. On my […]

Undo discarded changes in SourceTree

I am using SourceTree and i had some modified files under “Working Copy Changes” section which were being tracked as shown by the yellow icon in the image. But i discarded those changes. Now how to revert those changes?

Cloning repositories from github fails

I am unable to clone any repositories from github. I always get this error message fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists I have taken care of the following : Set my path variable to ;C:\Program Files (x86)\Git\cmd; and C:\Program Files (x86)\Git\bin; […]

Git clone/push/pull hangs on compressing objects (on specific pc and network)

I have very weird issue and its more than 2 days I cannot find a solution: git freezes/hangs after i clone/pull/push on compressing objects: remote: Counting objects: 284, done. remote: Compressing objects: 11% (26/233) Conclusions I came up: This only happens on my home wifi and my MAC laptop Its not SSH: works fine on […]

How to set a limit on the number of lines for methods and functions?

I would like to check if a (git) commit respects a certain method length limit or not. Ideally it should check if any of the methods touched by the commit exceeds a certain threshold. I guess a tool that integrates line counts in C++ code and git diffs may not be readily avaialble, but I’ll […]

Builds section not showing in Visual Studio 2013 for GIT projects

I have a project open in Visual Studio 2013 that is hosted in Visual Studio Team Services. I have builds running in Team Services but for some reason I am missing the Builds section in Visual Studio’s Team Explorer. It’s a Git project, in case it makes a difference. I do see the Builds when […]

Referencing composer version on branched **and** tagged repository

I have got some private development repositories used to host some of my personal composer packages. I create branches for all major versions (versions 0.1, 0.2, …, 0.9, …, 1.0, 1.1, …, 2.0, etc.) and inside that branches I tag certain commits with minor versions (0.1.1, 0.1.2, …, 0.1.x, 0.2.0, 0.2.1, …, 0.2.x). 1) Assuming […]

enable get bash here/get gui here on Windows

I’m trying to create a repository on Git for Windows and, after having installed Git, when I right click on a window which I’m trying to convert into a git repository, there is no option “get bash here” or “get gui here” that I’ve seen in other tutorials for Git for Windows. What can I […]

GIT: `error: unable to find <commit>` and `fatal: object <commit> not found` on pull

We have a repo in Bitbucket, which we use as a central repo: we update it via pull requests or directly by pushing changes, and we synchronize the last changes in remote servers by pulling from it. This has been working like a charm for about a year, but now we are not able to […]

Merging a pull request to my fork

I have created a fork of jimson gem repository. How I can merge this pull request to my fork

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