Tag: linux

How can I change the docker id and name

I’m using jenkins to build docker containers and send the completed image to AWS S3 bucket. I’m trying to get a file that is pulled from Github onto the docker image and then package it up into a docker image. Currently I have jenkins completing the git pull and building the container but I can […]

How to share a PHP code across multiple websites/servers?

I have many PHP websites that are in different servers (LAMP servers in the cloud). They are different websites from different clients, but I use some common code in all of them. All this common code I put in a Common_Code_Folder, that I use as a library with classes, controllers, functions, etc. The structure is […]

gitlab 8.2.0 git not working

I installed gitlab 8.2.0 from source and followed the instructions on https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation. When I run the checks with sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production I get the following error: Running /home/git/gitlab-shell/bin/check Check GitLab API access: FAILED. code: 301 gitlab-shell self-check failed Try fixing it: Make sure GitLab is running; Check the gitlab-shell […]

Git automatically changing file extensions

I have a git repo with some fortran source code with the file extension .for on windows. This code is compiled and run by a 3rd party software that throws an error if the file extension is not .for. A rather annoying feature of this 3rd party software is that, on linux, it requires a […]

Heroku – Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)

I’m trying to run heroku run rake db:migrate but I continuously get this error message: Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). I have seen people say just type in Git Init, but when I type in that, I just get fatal: Not a git repository (or any parent up to mount point /app) Stopping […]

Enable EPEL repository in CentOS 7

I tried to enabled my EPEL repository in my CentOS system because some packages were not available in the official CentOS 7 repository. I followed this tutorial: How to Enable EPEL Repository for RHEL/CentOS 7.x/6.x/5.x and followed RHEL/CentOS 7 64 Bit part. I tried RHEL/CentOS 7 64-Bit wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm rpm -ivh epel-release-7-5.noarch.rpm But I get […]

How to install latest version of git on CentOS 6.x/7.x

I used the usual: yum install git But it did not install the latest version of git on my CentOS 6.4. So, how can I update to the latest version for CentOS 6.4? Note: The solution can be applicable to other newly released versions of CentOS such as CentOS 7.x.

Using Docker through proxy ssh error

I have several problem when i use docker on linux machine(Ubuntu 14.04). There is a proxy on my network which did not allow ssh. So i configured my machine to use ssh through http with netcat-openbsd. I configured my host gitlab on my machine like this: Host gitlab User name.lastname Hostname my_gitlab.com IdentityFile ~/.ssh/my_ssh_key ProxyCommand […]

Unable to complete svn2git in a shell script

I am migrating a SVN codebase to Git and need to create more than 30 projects. Hence I approached this problem by automating the steps in a shell script. Below is the code snippet test.sh #!/bin/sh svn2git http(s)://svn.yyy.xxx.com:1080/SVNROOT/PROJECTSUITE –trunk trunk/SOURCES/Project1 –notags –nobranches –authors /Users/praveen/users.txt –verbose > log.txt git remote add origin git@gitlab.yyy.xxx.com:PROJECTSUITE/Project1.git git push origin […]

How do I reach a git repo on my home network?

I have a raspberry pi that I want to use to host my git repos. I have created a host on no-ip.org that just redirects to my router and I setup port forwarding on my router to redirect a certain port to my pi. I can ssh into my pi using this host name and […]

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