0
votes
1answer
14 views

ssh login with key can't connect although go an ssh key

I have my 2 servers that I want to connect one to another with ssh. I am the user --> userA in serverA, and I have this config file in .ssh folder Host git HostName git.OURSITE.com ...
0
votes
0answers
15 views

ssh key works on terminal but not on git

I have my machine, with it's ssh key. the public key is on the git remote machine. I can easily connect to the Git machine with simple ssh threw terminal. The problem is when I perform a "git pull" ...
0
votes
2answers
14 views

How can I reset some of the committed modified files in git?

I modified some code files and git add git commit. And then, I found some of the modifications were wrong. So how can I reset them in git?
0
votes
0answers
37 views

Various methods of trying to set up a git diff tool lead to “fatal: cannot exec […] : Bad address”

I'm on Linux Mint 17 64-bit. Just purged git and re-installed with apt. Deleted ~/.gitconfig. Only configuration I do after supposedly fresh install is (while inside a repo) git config diff.tool ...
0
votes
0answers
37 views

SSH reverse proxy

I am setting up a Gitlab server (https://about.gitlab.com/) inside a virtual machine using KVM on a Ubuntu 14.04 host. My university charges us for every external IP address, so I cannot use bridged ...
0
votes
0answers
15 views

Issues with file ownership after git push

I have a server at home running Ubuntu 13.10 configured as webserver and git repository. If I push my project from my system to the server a post-receive hook is executed that moves the files ...
0
votes
2answers
322 views

installing GitLab on CentOS7 failing due to create on resource user

I am trying to install gitlab on a VM under VirtualBox running CentOS 7 I am following the following instructions: https://about.gitlab.com/downloads (for CentOS) I configured gitlab.rb to contain: ...
1
vote
1answer
22 views

How can I put my skype notification settings in a public git repo

I maintain key configuration files in a public git repo - I'd like to put my skype configuration in it too, because I find the default configuration way too noisy. The newer version has started ...
0
votes
1answer
10 views

Emulate ff-only behaviour on Git 1.6.0.2

I have the following problem on one of our servers: I want a user that pulls from a Git repo on a regular basis (using a cronjob), but only doing fast-forward pulls (the content on the server changes ...
0
votes
0answers
24 views

Gitolite Setup fails

I am getting the below error when I am trying to setup the gitolite. FATAL: errors found but logfile could not be created FATAL: /home/git/.gitolite/logs/gitolite-2014-06.log: No such file or ...
1
vote
1answer
49 views

Understanding implications of sudo -u -H

I'm trying to install gitlab from this guide on Ubuntu 14.04 Server. It is also worth mentioning that I'm behind a http proxy. I'm having problems with this line in particular: sudo -u git -H git ...
0
votes
0answers
347 views

Can't git push to Bitbucket.org — with ssh keys

I'm running doku-wiki on may (Ubuntu) laptop for some note taking. So, to keep backup, I was using Bitbucket and periodically pushed my wiki files there and everything worked smoothly. (a) Some time ...
0
votes
1answer
145 views

How to create a user to for Jenkins to execute command as a root user?

When I create a Jenkins job with Git to manage the source code, I enter a local repository URL, it failed: Failed to connect to repository: Command"git ls-remote -h /myRepositoryPath HEAD" returned ...
0
votes
0answers
30 views

disable direct access to git repo

I have set up a local git repo on a linux machine and have users check in and check out from it: /myfolder/gitrepo/ How can I disable any modification access to that folder directly unless they ...
3
votes
3answers
799 views

How to execute commands as root in git post-receive hook

I just recently set up a remote git repo on a server for a web app running as an Upstart service. I'd like to use the post-receive hook to trigger actions that are required to update the application ...
0
votes
1answer
21 views

How can I create pushable remote Mercurial repos that works over SSH?

I have been using git for a while and I use git and ssh. I have couple bare repos on my server which I use to pull and push on multiple computers. Now I want to try Mercurial for some of my projects ...
8
votes
2answers
925 views

I need sudo without password prompt, for scripts. Where did I go wrong?

I am in sudo group all right: $ id uid=1002(molot) gid=1002(molot) groups=1002(molot),27(sudo),33(www-data) In my sudores I seem to have appropriate setting: sudo ALL=(ALL:ALL) NOPASSWD: ALL ...
1
vote
1answer
43 views

changing apache root directory prevents me from accessing .git/config

I copied over a php folder from computer to another and hooked it up to apache.. however apache would return page forbidden.. after doing some research it turned out it was a matter of giving apache ...
1
vote
1answer
360 views

How to install Ultisnips with Snippets on Linux?

I'm using Slackware and trying to install and use Ultisnips. I use Pathogen and the documentation says the following: > Using Pathogen: UltiSnips-using-pathogen If you are a pathogen user, ...
0
votes
0answers
25 views

Recompiling a python program doesn't produce executable

Today I installed Mathics from their github repository: $ git clone https://github.com/poeschko/Mathics.git $ sudo python setup.py install And then I decided to modify the source a little bit and ...
0
votes
1answer
161 views

Better setting of EDITOR environment variable to use Sublime Text 2 as system editor?

I want to use Sublime Text 2 for editing Git commit messages. Right now I have the following in my bash rc file: export EDITOR="sublime -nw" This works well if Sublime is already running. But if ...
0
votes
1answer
15 views

Cloning repository within many directories

I have this tree structure: ./ ../ user1/ user2/ user.../ user20/ I want to clone for all developers. Something like: ls | xargs git clone /my/project/repository.git I thought about using find ...
2
votes
1answer
42 views

How to git clone specific linux kernel build

I know I can git clone the linux kernel using the following: git clone \ git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git \ linux-2.6 But I'm wondering how to clone a specific ...
1
vote
1answer
49 views

Can document root of the server be on client machine

Here is my problem. In our company we have a setup like this. There is a server with apache, php and all. All the client (dev) machine has their one drive (M:) mapped to the home folder on the server ...
0
votes
2answers
203 views

Installing Git on Linux Mint Debian

Background I recently moved to Linux Mint. I installed the LMDE201403 and pretty much have my environment setup. However, I need to install Git for my version control. I have searched the internet ...
0
votes
1answer
126 views

Can't uninstall or upgrade git

I'm on Opensuse ver 12.2. My git seems to be installed in /usr/lib. rnx@linux-sh2d2:~> git --version git version 1.7.10.4 rnx@linux-sh2d2:~> which git /usr/bin/git rnx@linux-sh2d2:~> cd ...
1
vote
0answers
16 views

OS X 10.6: Cant unbundle VMWare software with git: does not look like a v2 bundle file [duplicate]

So I am using Mac OS X 10.6.8, I'm trying to download VMWare Player, there was no OS X specific bundle, only linux. I tried to unbundle the 32 bit linux with: jdd:VMWare Me$ git clone ...
0
votes
2answers
804 views

How to Compile and Install Remmina From GIT Repository for Ubuntu (KDE)?

Gentlemen, I would like to compile a version of Remmina directly from the GIT repository, because I need to apply a patch to fix a problem. With the command sequence below I can compile it and ...
0
votes
3answers
291 views

Perfect distro for small office web server + version control server [closed]

I'm willing to put one of my old "pentium" machine as a local web server at my small office. And willing to install a version control server SVN or GIT (I'm new to version controlling) on it. I'm ...
0
votes
4answers
426 views

Debugging git repo permissions on samba share

I've been working with git repositories cloned on samba share for about one year and apart from few problems with setting it up there weren't any issues with it. Recently I tried to add some files to ...
1
vote
1answer
700 views

Automatically chmod a file when doing git add?

I have an ubuntu development system using git to manage files, but I like to do my editing in QTCreator on a different (windows) system, so I have a windows network drive mapped to the ubuntu server. ...
1
vote
1answer
290 views

Git cannot clone repository into CIFS mounted directory

Attempting to clone a remote Git repository into a CIFS mounted directory on Linux. The error is: $ git clone ssh://git@github.com/ghuser/ghuser.git dir Cloning into 'dir'... fatal: Unable to create ...
3
votes
1answer
26 views

git revert changes except go extension files

git revert HEAD reverts all changes, but what I want to revert the ones except my go extension files? I want to revert all changes except the one with *.go I tried git revert HEAD ^*.go git ...
2
votes
1answer
88 views

How do I make git fetch ignore my private key?

I'm writing a cronjob that will git fetch. I have a private key that I often use for authenticated git things (like github) which has a passphrase on it, but this specific git fetch doesn't need the ...
0
votes
1answer
213 views

How to install Fatrat from source on Linux (dealing with dependencies)?

I'm trying to install latest Fatrat Download Manager from source on my Linux server and I'm not able to deal with dependencies. There is a GIT repository with latest version of Fatrat ...
0
votes
4answers
118 views

Execute a command when vim exits

Is there a configuration I can add to a .vimrc file which will cause vim to run a command when a file is closed? For instance, suppose I'm editing a file that is under version control. Once I'm done ...
0
votes
0answers
20 views

Git submodule management

I have read that using git submodules is tricky,and I find non-vanilla usage of git itself difficult enough. I have a project that has a script that creates sub repositories. The obvious solution ...
0
votes
1answer
504 views

How Should I Set The Permissions On Linux To My Yii Can Create Folders?

My ubuntu can't be open to the webprocess create new folders. When I use GitHub. Ubuntu 13.04 64bit folders: /var/www or /var/www/myapp I used this terminal commands: sudo adduser <username> ...
0
votes
2answers
885 views

Can't access my ssh linux server when outside network

So I've been scouring the internet for days trying to figure this out and can't figure it out. I know its going to be an easy one. So I recently took an old desktop and loaded ubuntu server 12.04 on ...
4
votes
0answers
226 views

SSH freezing with ControlPersist on

I recently enabled ControlMaster and ControlPersist in SSH so that it reuses and multiplexes connections for speed. The config is: ControlMaster auto ControlPath /tmp/ssh_mux_%h_%p_%r ControlPersist ...
0
votes
1answer
192 views

I want to install a psql module, but ubuntu cannot find the package?

I wanted to install a postgres module in ubuntu similar to this. So I ran a sudo apt-get update and that ran fine. Next, I did a sudo apt-get install postgresql-9.2-prefix just like the instructions ...
0
votes
0answers
29 views

Move gitolite from $HOME to /var?

I was a complete newbie to git when I set up gitolite to run from the ~git directory. Now we're setting up an issue tracker (Trac) with the ability to browse source code, so I want to give it access ...
0
votes
0answers
26 views

Why does cross-platform GIT repository take so long?

So, I have a GIT repository (a fairly large one at that) which I access both from Windows, using TortoiseGit and linux using the standard GIT package. But whenever I switch from one OS to the other, ...
4
votes
2answers
3k views

How to upgrade to latest git on debian 7?

I have installed git through apt-get on debian 7 which gives me: # git --version git version 1.7.10.4 I would like to ugrade to the latests version of git. I have tried: sudo apt-get install ...
1
vote
1answer
789 views

Can I git clone into a directory without cloning the project name as a directory (using bitbucket)?

I'm a small business and for the most part only use git locally to track history then SFTP the files to the remote server. I now have a much larger more complicated build that to be set up properly ...
0
votes
0answers
523 views

SSH configuration for jenkins with Slaves connecting to a remote GIT repo

I have: MASTER: A master running jenkins under Ubuntu; SLAVE: A slave running Mac OSX; GIT REPO: A remote GIT repo. I am having a hard time to get jenkins run git commands onto GIT REPO from ...
0
votes
0answers
94 views

Ask SSH passphrase only once for “chained SSH”

I have a master running Ubuntu and a Slave running Mac OSX 10.6.8. I set up the SSH keys. When connecting to the GIT repo directly from Slave, everything works well and I am not asked to enter a ...
0
votes
0answers
219 views

How to remember passphrase for SSH key on Ubuntu 13.04?

I have a Linux 13.04 server. And a GIT repo stored on it. When I'm trying to clone a repo from my OSX system - I don't type any passphrase (OSX remembered it), but when I'm trying to clone repo ...
0
votes
3answers
104 views

Using git to take over the management of half synchronized text file directories

This is a problem that hard to describe (and of course hard to search for answer), the closest that I found is Moving two existing already-synced directory trees to git annex I have two copies of my ...
16
votes
2answers
1k views

Is there a git-like file system?

Git stores content uniquely in its repo based on the calculated hash of any file. Thus, if my directory has two copies of the same file somewhere inside it, git will only actually store it once. I ...