Questions tagged [github]

Github is an online service for using git repositories to enable social and collaborative coding.

192 questions
5
votes
2 answers

Why did git stop working after server disabled SSLv3?

Like most others, our repository server needs to disable SSLv3 (and v2) ASAP. However, doing so seems to break our git-clients -- at least, on RHEL5 (connections from my FreeBSD desktop work fine). Even the most recent git (2.1.2) fails, and…
Mikhail T.
  • 2,272
  • 1
  • 22
  • 49
4
votes
2 answers

Jenkins github pull request builder picks wrong commit

I am using Jenkins with the plugin GitHub Pull Request Builder. I then have set up webhooks from GitHub to trigger a build in jenkins when a new Pull Request is opened or committed to. I configured the GHPRB plugin with the Jenkins DSL: job("name")…
benedikt
  • 95
  • 2
  • 7
4
votes
0 answers

Git Pull on CGI and Command Line have different results

I have an "after push" webhook on GitHub that calls a CGI script to update a Jekyll website. The script: user@server [~/_repo]# cat cgi-bin/githook.cgi #!/bin/bash echo Content-type: text/plain echo if [ -z "$HOME" ] ;…
yakatz
  • 1,213
  • 3
  • 12
  • 33
4
votes
1 answer

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 configuration is combined with my SSH…
petrsnd
  • 168
  • 1
  • 7
4
votes
2 answers

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 AMI and changing the autoscale config to use it.…
jstats
  • 145
  • 9
4
votes
2 answers

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 it is not possible, how can I 'logout' my first…
user1597243
  • 51
  • 1
  • 4
4
votes
1 answer

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 any standards applied. I've read a bit about git…
Jake Wilson
  • 8,494
  • 29
  • 94
  • 121
4
votes
2 answers

Can Fabric be used for auto-deploying from GitHub?

Can I use Fabric to automatically deploy an app on my server every time I push the code to GitHub? (GitHub has the ability to POST to a URL every time I push.) If so, how?
Ram Rachum
  • 5,011
  • 6
  • 33
  • 44
4
votes
1 answer

GitHub Pages and DNS Records

I want to have my new site located at GitHub Pages, but unfortunately I've been using an email account with the domain I want to point to GitHub. So, I have this paid hosting where I'm receiving my emails, my domain name registered at GoDaddy, and I…
Andrés
  • 177
  • 1
  • 7
4
votes
2 answers

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 account with an SSH key on my ubuntu laptop, and…
Hoghweed
  • 171
  • 2
  • 6
4
votes
2 answers

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 by the following…
iburlakov
  • 163
  • 1
  • 7
3
votes
2 answers

Any security risk in creating root public/private keys and adding public key to Github repo?

I would like to do version control on some important directories on my server such as /etc/apache. All the files and subdirectories in that directory are owned by root:root. Would it be considered a security risk to create a public/private key…
Jim
  • 320
  • 7
  • 16
3
votes
1 answer

Jenkins cannot read Github password since upgrading to Git client plugin 2.1.0

I'm currently using Jenkins 1.650 on Windows 2012 and I've upgraded a test instance of Jenkins (cloned from my production server) to 2.25. As part of this the Git Client plugin was upgraded from 1.19.6 to 2.1.0 and now it cannot authenticate. I…
shaneoh
  • 404
  • 3
  • 7
  • 18
3
votes
2 answers

Ansible with Github: Permission denied (Publickey)

I'm trying to understand the GitHub ssh configuration with Ansible (I'm working on the Ansible: Up & Running book). I'm running into two issues. Permission denied (publickey) - When I first ran the ansible-playbook mezzanine.yml playbook, I got a…
Sandwich Heat
  • 131
  • 1
  • 4
3
votes
2 answers

Cannot access my GitHub Pages website by IP Address

My custom domain works with GitHub Pages but I would like to understand how it actually works. For this example I am not using my custom domain at all. My GitHub Pages repository does not contain a CNAME file. E.g. Given a GitHub Pages repository…
Jay
  • 133
  • 1
  • 6
1
2
3
12 13