Tag: linux

Using symlinks between two projects on git

There is server running under CentOS with php-fpm and nginx on aboard. Two projects are hosted, one of them is primary, the second contains half of the primary project as symlinks and part corresponding to itself. Both projects are in git repos. The primary project works correct under Linux and Windows machines after cloning the […]

Git, monogame and cross-platform development

I recently started on a small project. We thought out a small game and are now building it. One of the most important aspects is that it works on Windows, Linux and OSX. To keep things simple for a bit I decided to start development on Windows and convert the game to Linux later, expecting […]

Sync Git Up To Server

My git client is behind my git server by a couple revisions and a git push doesn’t seem to work because I did something quirky: I had a git server on a machine whose harddrive crashed. Luckily, I had a backup although the backup was a couple of months old. I then made a new […]

git on linux, Right path, wrong version number

[wen@localhost git-master]$ /usr/local/bin/git –version git version 1.9.0.GIT [wen@localhost git-master]$ which git /usr/local/bin/git [wen@localhost git-master]$ git –version git version 1.7.1 Installed follow Getting-Started-Installing-Git My linux dist info. [wen@localhost git-master]$ uname -a Linux localhost.localdomain 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25 19:59:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux [wen@localhost git-master]$ cat /etc/centos-release CentOS release 6.5 (Final) What’s wrong […]

Bundle Git SSH keys into a private AMI

I have an EC2 instance which runs an app hosted on a private git repo. I need to be able to launch many of these from my master server. At the moment, I have 5 fixed “worker” instances which I start/stop from the master with no problem. Each worker starts, pulls the repo, and launches […]

How to make a ubuntu executable and run it in my install file

This is the install file below (sandhi-install.sh). Currently after installing it can only be run from the terminal. I want to make it terminal independent. Making a Ubuntu executable explains how to create an executable but where should I put that code. I think it should be in the install file itself because we want […]

How to apply a single git commit in one repository to another repository?

I have several git repositories which contain configuration files for Linux systems. Sometimes I need the same change to be applied to all repositories. How can I automate this?

http 401.1 error while performing a GIT clone from a Linux server

I’m running TFS 2013 with a GIT team project. When I perform a git clonefrom one of the local Windows servers I don’t have any issues: -bash-4.1$ git clone “http://tfsadm:tfspas@tfs.server.com:8080/tfs/DefaultCollection/_git/Main” Initialized empty Git repository in /home/tfsadm/Mainframe/.git/ but when I perform a git clone from Linux, I get the following error: error: The requested URL returned […]

Using GIT between local sites

I cloned a Git repository to recreate a website in my localhost DEV environment. Later I created a second copy of the site, STAGING, by copying the code base from the first, DEV, site. The staging site has no .git file. Recently, I’ve decided to stop coping and pasting from DEV to STAGING. But, how […]

how to connect gitlab with openProject

Hello I have a requirement is it posible to connect somehow gitlab with openproject? I have seen this https://www.openproject.org/news/57-openproject-github-integration-plugin-released but not sure if it will help somehow with gitlab

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