2
votes
1answer
268 views

Unknown option git config --local reported by Jenkins

I asked the same question on stack overflow but I only got 5 views, I think this is a better forum for this question. I'm setting up CI for a C# project hosted on github in a private repo. Git is ...
1
vote
3answers
277 views

keeping a remote server up to date with git repo

So, I'm aware of git hooks, and will be looking into those next, but want to write a simple bash script, run via cron, to keep a repo on a remote server up to date. I imagine it working like this: ...
2
votes
1answer
235 views

Git github not working with google authenticator OSX

So I had git running on my computer just fine. My password was saved with the osxkeychain thingy and everything ran smoothly. Today I decided I should be safe and enable google authenticator 2-step ...
0
votes
0answers
27 views

how to setup GitHub for restricted users of Windows Server 2012?

I want to let users use git and GitHub for code development, partly to let them work on their personal computers occasionally. So git would keep track of development across user accounts on the ...
1
vote
0answers
43 views

Getting new tags in Git Push on pre-receive

I'm using pre-receive hooks in GIT (using bash on Linux) to filter the push that are allowed into my repo. I need to filter the push that developers do into my GIT repo, allowing just pushed with ...
0
votes
0answers
243 views

Git push over https URL fails from Jenkins, works from command line

I have limitation in the CI environment in the sense that SSH and Port 22 is blocked by company firewall policies and they will never open it. I get stuck at a post build step where I want to push to ...
2
votes
1answer
219 views

Change ssh ControlPath with host-specific declaration

I have a situation where I need to access the same SSH host (GitHub) with two different SSH keys. This is no problem and I can set it up easily by aliasing the hostname. The problem comes when this ...
0
votes
1answer
145 views

Deploying PHP code to Linode on Git push

We are using two Linodes to host our application: one for production and one for staging. I would like to set it up so that when code is pushed to the development branch of our Git repository, the ...
0
votes
1answer
392 views

Can't “git pull” with PHP on AWS EC2

I'm trying to setup this EC2 instance to listen for a webhook from Github and then run a git pull. The web runs this under the user 'apache'. I was following: ...
1
vote
2answers
162 views

SSH Key Forwarding fails as soon as I am root

Situation I add a ssh-key to the chain using ssh-add -K the_path as user@local I set up key forwarding as described here https://help.github.com/articles/using-ssh-agent-forwarding ...
0
votes
0answers
55 views

GitHub Enterprise ACLs

Is there a way to do github repos acls on the branch level? Or only on repositories level? Sorry might be a very easy answer, but I can't find the answer in their documentation.
0
votes
1answer
92 views

github push -> redmine issue duplicate comments

I've successfully connected github to redmine and whenever someone puts an issue reference in a commit message and pushes it to github, a comment is added to the redmine issue referring back to the ...
1
vote
2answers
383 views

How can I get “mirrored from” on a GitHub repo?

I noticed that https://github.com/apache/ant says "mirrored from git://git.apache.org/ant.git" (with a link) and I'd like to do the same. https://exyr.org/2011/git-mirrors/ seems like a good write up ...
0
votes
1answer
504 views

GIT issue in AIX 6.1

I recently installed GIT 1.8.1 on my AIX 6.1 machine and am facing a few issues with it. Now if I login as root and issue git commands like git --version I get the response as shown : Code: git ...
0
votes
1answer
703 views

pulling git-via-ssh repo via Puppet: “Could not create repository (non-repository at path)”

I'm trying to pull a git (github) repo via Puppet. I've used the official vcsrepo documentation and borrowed from the Fiesta post to come up with the following config: vcsrepo { "/tmp/": ensure ...
-1
votes
1answer
101 views

MD5 for Git's git-credential-osxkeychain executable? [closed]

This question copied over from Super-User, where it was apparently unwelcome. Anyway, asked and answered: I'm setting up a GitHub account and have downloaded Git's git-credential-osxkeychain ...
2
votes
2answers
742 views

Auto-scaling EC2 Servers and Updating Code

We've come to the point where we need to set up autoscaling for our web server and I'm unsure how to go about the process of scaling servers and updating the the existing code without remaking a new ...
0
votes
1answer
465 views

What unblocked ports are necessary for github to work? [closed]

My work has blocked github. Attempting to pull from a github repo produces this message: ssh: connect to host github.com port 22: Operation timed out Does this mean only port 22 needs to be ...
3
votes
2answers
407 views

Error 403 when git push (multiple github accounts on the same mac)

I have two GitHub accounts on the same Mac. And have credential-osxkeychain installed. It works fine with my first GitHub account. But, how can I add the second account into the keychain access? If ...
2
votes
1answer
432 views

Use Git hooks to auto format code after pull requests or commits or pushes/pulls?

Lets say you have a Git repository, like on GitHub, and you have a lot of people contributing to the repository. Everyone uses their own standards for coding, so the code ends up being a mess without ...
0
votes
2answers
229 views

How should a small team using multiple OS's deploy over github?

We have a small development team that have recently moved to using github to host our projects. The team consists of three developers, 2 on Windows and 1 on Mac. I am currently researching the best ...
2
votes
1answer
358 views

Deploying git repo on production server without account password

What I would like to do How can I clone a git repository on my production server, without providing the account's password, and passphrase for the SSH key? Perhaps what I'm asking is not possible. ...
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
0answers
370 views

Why am I unable to download git repository on git hub?

I must have done this a dozen times. I follow the instructions at http://help.github.com/mac-set-up-git/ Permission denied (publickey,keyboard-interactive). fatal: The remote end hung up unexpectedly ...
2
votes
1answer
122 views

Mirror on Github [closed]

I'm working on the Android sourcecode and I want to create a mirror of my code on Github. Here's the status: Checked out android code using instructions on source.android.com Created a local ...
1
vote
2answers
2k views

How to use git pull without entering the passphrase

I'm trying to pull from a GitHub repository in an unattended way, but everytime I do it I get: Enter passphrase for key '/home/yc2/.ssh/id_rsa': And I have to enter it for it work. I managed to ...
2
votes
1answer
150 views

What is the best way to use git to update test and production servers?

Our company has recently transitioned over to git and github as our main source control. We've gotten all the users setup and everyone is able to push and pull to github just fine. But I'm a little ...
1
vote
0answers
231 views

Git, cherry-pick commits from one repo to another

First of all, I do not have much experience with git specific and I had worked with it previously like with ordinary SVN (one repo, possibly with branches, and simple commits.) I forked a repo on ...
0
votes
2answers
326 views

Pull GitHub Repository into /var/www

I have a private GitHub repo that I'd like to setup my testing server (LAMP) to automatically pull/fetch the files in the master branch and put them in my web root (/var/www). Wouldn't it be possible ...
2
votes
1answer
423 views

Git - Odd Disk Space Usage on GitHub

We use GitHub to host all my projects, and we've got a 6GB soft-limit. A few days ago, there were many files added to the repository which should not have been added (such as images, movies, etc.) ...
1
vote
2answers
532 views

Using the same github account from multiple PCs

I have my github account and I want to access it from my two workstations, an Ubuntu workstation and a Windows one. I'm a beginner on SSH and git as well, I followed all the instructions to setup my ...
1
vote
2answers
2k views

Permission denied (publickey) error

I'm trying to connct to github via shh with using following command: ssh -v github.com But i have error Permission denied (publickey). I generated rsa keys with ssh-keygen command keys are located ...
2
votes
1answer
918 views

How to set up multi users on dev server with git and github

I'm working on lamp application. We have 2 servers (Debian) Live and Dev. I constantly work on dev main to add new features and fix bugs. When happy all works well I scp the relevant code to the ...
-1
votes
2answers
2k views

Permission / owner issue with pushing to git when editing directly from repo?

I have a web interface for deploying scripts from our repo at Github to our live server. The web interface just triggers a bash script with some git commands. If I make changes locally, push to repo, ...
0
votes
1answer
188 views

How Can I Point My Local Testing Server at My GitHub Repository?

Up until a few days ago, I had a particular setup that was as follows. Using SVN, all of the websites that I developed were committed to a source control drop box on a local testing server. Then using ...
1
vote
1answer
308 views

GIT - GitHub Repository Setup Viable?

I have a small team of developers and we have purchased a small private repository account. Essentially all we want to do is have this central repository store all of our source code and for each ...