Skip to content
Advertisement

Tag: git

Auto Update SVN after Commit and Export it to zip

Me and my friends are developing android Custom ROMS, the problem is we immediately update when there is something need to update. i use google code trunk to upload our custom roms for now and i need to zip it and upload it, is there is a way for a better proccess that our server automatically svn update when i

TortoiseGit – copy via sftp on pull

Intro: I have 2 folders which are on the same GIT repository, one is on a very slow Samba network drive, and one locally. using GIT on samba is extremely slow, but the Samba is my server, which is actually vmplayer running ubuntu server on a windows machine. My question is: is it possible to automatically copy files from the

How can I clone a module from linux kernel?

If I only want to focus on a module of linux, such as perf, how can I just fork or download perf module related files from github? I have tried the following command: But it can’t work. Answer You need to use a combination of two relatively new features of Git. The first is sparse-checkout (available since Git 1.7.0). Sparse-checkout

bundle install not running from my post-update hook

I’ve setup a post-update hook for my project. I have a bare repository (/var/git/myproject) which I push to, and a live repository (/var/www/myproject) where my app is running. I also included bundle install and bundle exec rake db:migrate to install gems and update db. Below is my post-update hook When I push my changes though I get the following message

Password for GitLab

I’ve installed GitLab per https://github.com/gitlabhq/gitlab-recipes/tree/master/install/centos. The instructions state to add user “git” All seemed to work. I then added a project on the GitLab server, and it gave instructions to push to it: I then went to my client to push to the git server. Is there a password I should have set? Probably not, and instructions don’t address. Reading

Script for root to git pull as another user

I have a script that I would like to have do a git pull inside another user’s git directory. This script is run by the root user. For example: When I run this, I get: Is there a way to have my script do a git pull as username? Answer Try without the -i option to sudo. That option is

Git merge directories that have become separated

Not quite sure how to explain this clearly, but here goes. Due to a bug in Tortoise-git, we’ve ended with a situation like this; All our code should be under a directory structure like this (this is Symfony2 project); but, due (we think) to the bug in Tortoise-git, when we pull the code onto a linux box, we’ve got; (i.e.

Unable to install git

I ran the following commands on linux mint 12 lisa: I am getting the following error on running 3. That is, installing git: My /etc/apt/sources.list file contains the following content: sudo apt-get upgrade shows the following: Answer You need to install aptitude first. then install git using the command

Advertisement