Git

How to add multiple remote servers to a Git repository so that it can push to both GitHub and GitLab

I had this particular case of adding a git repository to multiple servers - one, GitHub, and the other running GitLab.

The code was already being pushed to my GitLab server, when a client wanted the code to be pushed to the development branch of a project in his GitHub account.

This is what I did to get it working:

(Ref.: http://stackoverflow.com/questions/849308/pull-push-from-multiple-remote...)

How to build / compile / install a High Performance / Latest Version (1.8.3 or later) of Git version control system from Source on Ubuntu 12.04 / 12.10 / 13.04 Server/Desktop

Installing Git on Ubuntu can be as simple as this:

Method 1: The easiest and Ubuntu recommended way - using the Ubuntu package manager:
sudo apt-get install git-core
Done!

Well, it takes quite some time for the latest version of Git to reach the Ubuntu repos - as of now, the repo version is around 4 months older than the actual version of Git out there.

To install those, you need to Build/Compile/Install from the latest version of the source code.

Here is how you do that:

[HOW-TO] Installing Redmine 1.4.x (Project Management Suite + Issue Tracker + ...) with git integration and incoming emails support, on a hosting server with cPanel version 11.x

Subscribe to RSS - Git
randomness