0
votes
1answer
88 views

Git installation for a newer version fails on ./configure

I'm trying to upgrade my Git version to 1.8.3 on my fresh new CentOS 6.4 server(Cloud). I'm trying these instructions here because I will then install the Gitlab. I have used this document before ...
3
votes
4answers
225 views

Migrating a simple BASH update script from SVN to GIT

We used to keep our Nagios config up to date through SVN, with users commiting their changes and a script running every 15 minutes. The script checked for updates, then checked those updates parsed ...
2
votes
2answers
820 views

Add entire 300 GB filesystem to Git Annex repository?

By default, I get an error that I have too many open files from the process. If I lift the limit manually, I get an error that I'm out of memory. For whatever reason, it seems that Git Annex in its ...
1
vote
1answer
420 views

Check if folders exist in Git repository… testing if a sub-string exists in bash with NULL as a separator

I have a common git "post-receive" script for several projects, and it needs to perform different actions if an /app/ or /public/ folder exists in the root. Using: FOLDERS=`git ls-tree -d ...
1
vote
2answers
749 views

Be able to pull from git without password on login or just run keychain which does it for me

I need to pull from Github all the time and I have a passphrase, but it's a pain, so I typically run... ssh-agent bash ssh-add ~/.ssh/id_rsa <prompt and give passphrase> git pull ... And ...
1
vote
1answer
1k views

I need to run a script to pull repo. from github without asking me a password

I just got a new server for my website, and I'm trying to create a trunk in a folder where i can pull data from github. That way I can easily get the latest version of the website, and copy the needed ...
0
votes
3answers
2k views

git bash change username

I am using git bash and its trying to use my Windows username to login with "git push origin Dev" but I want it to use a different name, my username on the remote. How can I change this? Thanks
3
votes
4answers
735 views

How Do I Make A Bash Script for Git Checkin/Checkout?

I was thinking of bringing up a git service on an Ubuntu server. However, the way me and another programmer operate -- we really want to try and stick to one person working on a project at a time. ...
1
vote
2answers
804 views

ssh publikkey authentication for git within a bash script?

I currently have a bash script running on my Linux server that once a week goes through my repositories, performs some tasks, and backs them up remotely. Today I started backing up some remote ...
2
votes
3answers
374 views

What's wrong with this bash prompt?

I use the following entry in ~/.bashrc file to colorize the prompt and display current branch of git repository: PS1='\[\e[1;32m\]\[\u@\h\]\[\e[m\] \[\w\]\[\e[1;1m\]\[$(__git_ps1 " (%s)")\] ...
0
votes
2answers
460 views

Updating the $PATH for running an command through SSH with LDAP user account

I am setting up a Mac OSX 1.6 server to host Git repositories. As such we need to push commits to the server through SSH. The server has only an admin account and uses a user list from a LDAP server. ...