Git repository hosting service - May be better on Web Apps or Stack Overflow

learn more… | top users | synonyms

116
votes
9answers
91k views

How do I ensure Git doesn't ask me for my GitHub username and password?

I am working with a repo on GitHub and everytime I try to push something, it asks for my GitHub username and password. I don't want it doing that. I tried the instructions on setting your email in ...
27
votes
4answers
22k views

Can not clone any git repository from github

Since the update to OS X 10.9.2 I am not able to clone any git repository from github.com If I run the git clone command I get the following error: git clone ...
22
votes
6answers
8k views

github flavored markdown editor for osx [closed]

Do you know any editor for Mac OSX that helps with editing Github flavored markdown? I think Mou ( http://mouapp.com/ ) is fine, only that its just plain markdown and not Github markdown. Please, ...
21
votes
2answers
6k views

How can I Resync a fork from original

I just forked a project in Github. I made modifications and sent a pull request. The owner merged my fork with the main project and after that he made some modifications. So for now my fork is not ...
12
votes
2answers
28k views

How to push an existing eclipse project to github?

Currently I'm developing some applications that I want to share with the community. Therefore I decided to use github. I could find a lot of tutorials that tell me how to create a repository from ...
11
votes
2answers
20k views

Connecting to github using PuTTY generated SSH key in Windows 7

On an otherwise pristine Windows 7 Enterprise install: Install PuTTY 0.62 Create public/private key pair with puttygen.exe Add public key for pasting into OpenSSH authorized_keys to github account ...
11
votes
1answer
9k views

GitHub for Windows Install Error

I'm trying to install the GitHub for Windows that I downloaded from the GitHub site. However, I get the following error message: Application cannot be started. Contact the application vendor. ...
10
votes
1answer
6k views

SSH config - same host but different keys and usernames

I've set up two GitHub accounts, but I can't get ssh keys to work correctly. I've tried various configs. Host github_username1 HostName github.com IdentityFile ~/.ssh/rsa_1 User ...
10
votes
1answer
3k views

How can I create a tag with Github for Mac?

GitHub for Mac OS X is cool software. I can do a lot of cool things with it (history, branches, etc) - but I don't know how to create tags. Can I do this with the GUI? GitHub for Mac
10
votes
1answer
2k views

GitHub for Windows can not sync to repo while command line tools can

I have my git repos hosted on a server using Gitolite. I can access them using SSH like this and it works from Mac OS X/Linux: git clone git@example.net On a Windows 8 Box I now have installed ...
8
votes
1answer
8k views

Cloned GitHub repos ask for a password, while originally created don't

I've just lost a bunch of repositories from my disk, so I've cloned them from GitHub. These are now asking for username and password each time I push something to GitHub. Those that haven't been ...
8
votes
1answer
6k views

Pushing a local repo to a GitHub repo using the command line: “Fatal: Authentication failed”

I'm trying to push code in my local repo (on an OS X 10.8.5 system with the GitHub app installed and logged into) to a repo I created on GitHub via their website, using the command line. Oddly, when I ...
8
votes
1answer
31k views

another “SSH connect to host github.com port 22: Bad file number”

I have a problem with my first-time SSH connection. Yes, I've already done your guides, already tried your "Dealing with firewalls and proxies" article and the problem is still occuring. I am using ...
8
votes
0answers
436 views

Error from egit installation

Just installed a fresh 32 bit copy of Java and Eclipse. I'm now trying to add egit for the first time, following the instructions here (using the main repository). I receive this error when I try to ...
7
votes
2answers
1k views

Is it safe to delete a branch from a github fork once it's been merged upstream?

I've only recently tried my hand at forking in github and would like some "best practice" advice. I created a branch in my fork, and that branch got pulled into master of the upstream project. It no ...
7
votes
1answer
430 views

How to pull a git repo from github with all unlinked commits

I'm wondering how to pull a repo with all of the commits that have not been gc'd, if that is possible.. is it something like: $ git clone x $ cd x $ git fetch origin -f ? or something else?
6
votes
3answers
4k views

Sync a forked repo with original using the Github for Mac GUI client and/or the Web interface?

I want to sync a repo I forked on Github with the original. Is there any way I can do that using only the Github for Mac client and/or the Web interface? If not, is there a GUI client (for Mac OS X) ...
6
votes
2answers
6k views

Monitor a Folder OSX for file changes then run a bash script [duplicate]

Possible Duplicate: Watch Filesystem in Real Time on OS X and Ubuntu I'm looking for a efficient method to monitor a local directory in OSX and if any files have been changed in that ...
6
votes
3answers
1k views

Can I delete my fork before the pull request gets accepted? [closed]

I made a fork of a project on github, did a small correction and submitted a pull request. However, from every pull request “in line”, I can see that this developer will take a long time before ...
6
votes
2answers
222 views

Git branch for instances of a website?

I'm working in a couple of websites, both websites needs almost the same code except for some changes in images and css, or settings. I'm just finished to read the chapter of branchs of Pro Git book ...
5
votes
2answers
6k views

git pull does nothing / git push just hangs / debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

I had an issue in ubuntu 13.10 and 12.10 where attempting to connect to github (git clone / pull / push or anything) would fail with no output. I checked my /.ssh directory for config and any ssh ...
5
votes
1answer
2k views

Unable to open github.com Error code: DNS_PROBE_FINISHED_NXDOMAIN

I am using Ubuntu 14.04 64 bit with a wired connection. For the last 7 days, I have been unable to open Github. It instead has an error. Is there anything wrong with my connection / hardware / ...
5
votes
1answer
1k views

Gist vs repository on GitHub [closed]

Say you have a couple of projects that you want to host on GitHub, and they're all pretty small (i.e. each one is a single bash script with less than 100 lines). Even though they're relatively small, ...
4
votes
2answers
651 views

What is an SSH key?

I signed up for github and notice the ssh key option which looked interesting. I originally expected something like an ssl key (name, co name, etc). After going through it i notice i only put a ...
4
votes
1answer
130 views

Retrieve ssh key from github

I had ssh key at github.com in my account. Now i reinstall my operating system, how can i retrieve my old ssh key from github and put it into /home/user/.ssh/id_rsa? Thank you.
4
votes
1answer
3k views

What command does “Sync Branch” do on Github application

As the title suggests, which operations does the "sync branch" perform on the github application for OS X? Does it do a full clone of the repo again?
4
votes
1answer
1k views

How do I point GitHub for Windows to my existing repository folders?

I installed GitHub for Windows, and it's a very smooth program (looks exactly like any of the Live programs). However, it lists my GitHub repositories and wants me to clone it to ...
4
votes
2answers
1k views

Customizing Powershell to look like Github for Windows' shell

I use Github for Windows and usually I use the "Open a Shell" here command which launches powershell with some custom settings. It makes powershell display extra information when I'm inside a Git repo ...
4
votes
1answer
890 views

git push to github via cron on mac

I'm trying to use git push in a bash script being run by crontab to push a commit to github. At the end of the script I'm doing this: # script processes some files, then: git add -A git commit -a -m ...
4
votes
1answer
3k views

Agent Forwarding Through Different Usernames (Git & Deployment)

This query isn't directly related to Git, but since one of Git's supported transports is SSH, and I'm trying to use agent-forwarding, I thought I would ask for clarification (the man pages have let me ...
4
votes
2answers
2k views

Setting up a git repository on a server

I read through the other git questions here but couldn't really follow whether they are trying to do the same thing as I am. So if you find any duplicates, please let me know. I have a central server ...
4
votes
1answer
1k views

Firefox displays weird encoding icons on websites like GitHub

On Mozilla Firefox (on GNU/Linux) with default font and UTF-8 encoding, I am seeing some websites, such as GitHub, display weird characters across the page. Under a different browser, such as ...
3
votes
3answers
721 views

Which is the best and simplest Windows Subversion client I can install to get the Google Client Library for PHP?

My operating system is Windows 7. The google-api-php-client is made available on GitHub, and can be downloaded with Subversion. The documentation provides the exact command line command to download ...
3
votes
1answer
1k views

Unable to connect to Github for the first time

This is my first time with Git and I'm trying to set it up on my box. I added my key to my profile in the Github web interface. When I try to connect... : max@linux-vwzy:~> ssh git@github.com The ...
3
votes
2answers
2k views

Is there an extension that previews markdown instantly?

In vim, there is a plugin called vim-instant-markdown that displays markdown output; and it supports GFM! In emacs, I know there is a markdown-mode that can be used when we write markdown, and we can ...
3
votes
2answers
949 views

any drawback of using bitbucket/github as cloud storage? [closed]

Technically it's OK to use such public version control system (svn, git, mercurial, etc) as cloud storage. But is it legal or is there any drawback of doing so?
3
votes
2answers
3k views

Use a specified key from ssh-agent

Along the lines of Tell git which private key to use I would like to use a specific ssh key in a given situation. My problem is that even when I specify '-i something' ssh uses the keys from my ...
3
votes
1answer
506 views

GitHub windows 7 sh.exe has stopped working

Every time I run an operation from the command line for GitHub for windows I get a popup that says sh.exe has stopped working. The UI seems to work correctly. The command line is using the sh.exe that ...
3
votes
5answers
4k views

GitHub Not Accessible from Google Chrome

Whenever I try to go to GitHub through Google Chrome 11 I get the following error message: GitHub works perfectly fine in Firefox 4: This has been going on for a few weeks. This is a fairly new ...
3
votes
1answer
479 views

Install GitHub for Windows through proxy

I'm trying to install GitHub for Windows. The problem is that I'm working through a proxy and the installation app don't let you change proxy settings. Is there a workaround to change the proxy ...
3
votes
1answer
3k views

How can I download private repo from github?

What I want to do is to download private repository archive from GitHub, extract it, remove archive file and copy some directories that are inside downloaded project. I tried to use wget but I cannot ...
3
votes
2answers
1k views

How to print code from GitHub.com with its syntax-highlighting?

How can one print just the syntax highlighted source code from a GitHub source code page (e.g.)? I've tried it with a few browsers (Safari, Firefox, both running on OS X) but I have not succeeded in ...
3
votes
1answer
350 views

How to install website-specific font file into Firefox?

Some websites, notably Github, started using special downloadable fonts and various little pictures are broken when font downloading is disabled. How to statically install just GitHub's font into ...
2
votes
2answers
3k views

Clone GitHub Repo Without Account?

I'm putting together some documentation and don't have access to a non-configured machine to just test this myself, but I'm curious if you need a github account to clone a repo from github to a local ...
2
votes
3answers
4k views

How to clone a git project from the website to your desktop?

When I try to clone a git repository to my Desktop it always takes me to the download page but it is already downloaded. How can I clone it directly from the browser to PC ?
2
votes
2answers
251 views

Is it a bad idea to get my production servers software source code from github

Usually I use apt-get but apt-get can get out of date. It seems that quite a nice solution may be to get the source code for my software (for example, nginx) from github and then build it each time. ...
2
votes
1answer
3k views

Is there a way to edit a commit message in github?

Is there a way to edit a commit message after committing and pushing to github? I see that there is a 'add a note' as well as inline commenting, but no actual editing of a commit message. There is ...
2
votes
1answer
1k views

Timeout with brew update

This is driving me crazy. I can't update my homebrew installation anymore. When I run brew update, it just does nothing and times out. I even tried reinstalling it, but then I run into the same ...
2
votes
2answers
3k views

Move local copy of git in Github for Mac

I have cloned the source of a git repository to /path1/foo/, but I want move the local copy to a new location say /path2/foo/. How do I do this?
2
votes
2answers
356 views

Installing Git on Windows

I've installed several different versions of Git on Windows all with the same failure. I get an error "libssh2.dll is not installed on this computer...". I looked around the installation files, and, ...