Hosting service for software projects using the Git revision control system.

learn more… | top users | synonyms

0
votes
0answers
2 views

Remove upstream from forked repository on GitHub

I forked a repository as a starting point for a new project, never intending to submit pull requests to the original repo. It's become annoying to have to select my own master branch every time I want ...
3
votes
1answer
18 views

How to upload a JAR to GitHub releases?

How do I use GitHub releases to upload a JAR file? Attempts to upload a JAR result in a message that ZIP files, among others are supported. JAR files are ZIP files, just with a different extension, of ...
12
votes
1answer
11k views

How to use a GitHub as a hosting for a small static website?

I have found a project called impress.js on GitHub. This project has a cool demo at http://impress.github.io/impress.js/. How can I use GitHub in a similar way for my projects' demos (or at least ...
16
votes
2answers
5k views

Is there a way to set my timezone on github.com?

Whenever I make a comment/issue or commit. The time is off by 10 hours. I believe it is a timezone issue. Is there a way to change my timezone for my github account?
8
votes
1answer
226 views

Set default organization view when logging in to GitHub

If I am a part of multiple GitHub organizations, how can I set which GitHub organization I view by default when logging in?
11
votes
5answers
23k views

How to delete a file and folder from github.com repository using github.com's web interface?

How to delete a file and folder from github.com repository using github.com's web interface? I searched on Google but haven't found any answer. I have found about how to do using commands but I ...
2
votes
1answer
77 views

Can I delete a GitHub fork before it's merged, or do I have to wait until after?

I forked a GitHub repo and submitted a Pull Request. But now my account still has a copy of the original repository. Must I have that repo on my account enabled/present until the merge is done or I ...
2
votes
1answer
52 views

Prevent user from opening issues

I would like to stop a problem user from opening further issues and commenting. I own the repository. I see the block option, but it is not clear what it does.
3
votes
1answer
3k views

Show Github commits in a Slack channel

How can I get Github commits to get posted to a Slack channel? All I could find in Slack's Help is this page which is only for Github Enterprise.
1
vote
0answers
4 views

“Pin” link to commit ref from generic tree ref on Github

Let's say I'm on a Github page for a file in a repository, like so: https://github.com/apple/swift/blob/master/stdlib/public/SwiftShims/HeapObject.h#L33 Note that this links to line 33 and branch ...
0
votes
2answers
33 views

How to fork a particular branch only from a Github repository?

If a repository has multiple branches, is it possible to fork a particular branch only as a main branch in my fork, on Github?
1
vote
1answer
57 views

How can I provide search for a Github wiki hosted in a private (organizational) repo?

We have a lot of engineering documentation stored in a shared repo wiki. The repo itself, though, is private (i.e. part of an organization). Although there is functionality in the wiki to search for ...
2
votes
0answers
28 views

Add a note/comment to a GitHub pull request, before the request has been opened

I'm looking for a way to add a note to a pull request on GitHub but in advance of the branch being ready to have the pull request created/opened. My use case here is that I want to add some notes for ...
0
votes
0answers
18 views

How to create regular automated backup of git database

I need to do regular automated backups of my git database in a secured AWS S3 bucket. Currently git is running in aws instance. GIT is installed from omnibus package.
25
votes
3answers
35k views

Markdown to insert and display an image on GitHub repo

According to the GitHub documentation, the Markdown syntax for inserting an image is: ![GitHub Logo](/images/logo.png) Format: ![Alt Text](url) Following their example syntax, I can't seem to be ...
1
vote
0answers
6 views

Even after I press “Publish release”, Github release stays as Draft

Creating a Github release usually works well, but for one particular project I can't seem to be able to publish: The Draft stays a Draft and never gets published. Is it because that project is a ...
0
votes
0answers
14 views

Find issues with or without a pull request

GitHub offers a search syntax that allows you to filter issues based on many things. However, there doesn't seem to be a way to find issues with or without open pull requests. Am I missing something? ...
1
vote
1answer
19 views

View a project on GitHub in action, to see its functionality

I forked several projects on GitHub based on keywords that reflect their functionality. However, I need a visual version of a working app (as opposed to its code) so I know if it is what I want to ...
6
votes
2answers
2k views

How can I import issues from BitBucket to GitHub?

I am trying to migrate a project from BitBucket to GitHub, and would like to import all the issues (preferably keeping their issue numbers intact). Is there some tool or service which will accomplish ...
5
votes
2answers
4k views

How can one upload files to GitHub via the web interface?

My question related to the Github.com web interface only. Similar to this question (Create a folder in GitHub via the web interface), is it possible to upload files to a GitHub repository using only ...
1
vote
0answers
13 views

Which cookie to save to avoid GitHub two-factor authentication?

I've enabled GitHub's two-factor authentication, and I also use the Firefox add-on selectivecookiedelete to delete most cookies upon closing the browser. I would like to white-list GitHub's domain, ...
7
votes
1answer
33 views

Which fork is marked as a main repository when the original one is deleted in GitHub?

For instance, there is a repo called foo. There are three forks of it called foo-bar, foo-baz and foo-baq which were created sequentially. foo is updated quite frequently. Forks are more or less ...
9
votes
3answers
935 views

How do I download a particular file from GitHub?

I only need one particular file from a project published on GitHub so it makes little sense to download the whole project. But I just can't find the download button.
9
votes
1answer
4k views

Is there a way to have GitHub send commit notifications including the diff?

Does anyone know of a way to have GitHub email commit/pull request notifications including the full diff of the commit? I know about the email service hook, but that doesn't send the diff.
2
votes
0answers
12 views

How to keep relative links in GitHub subproject consistent in npmjs.org interface

The code of the npm package I'm developing belongs to a bigger repo, which contains a lot of different stuff. There's a README.md file with relative links to the documentation contained in the same ...
0
votes
0answers
11 views

Initialize a github repository after creation

I created a github repository (for SVN use) and chose not to initialize it in the wizard. Now, I cannot find an option to initialize the repository (I do not have a Git client installed, and I prefer ...
2
votes
1answer
11 views

Does granting access to external services expose my privately available repos?

I have a GitHub account. I have a few public repos, and I am also part of an organization which has private ones. Suppose I subscribe (or was already subscribed) to a service like gitbooks.io, or ...
2
votes
1answer
18 views

How to fork a GitHub project AND keep all pull requests

I am forking a GitHub project that has been abandoned. There are about 5 important pull requests that need to be accepted (including mine!), but the project owner is AWOL. When I use the GitHub web ...
2
votes
0answers
23 views

When are empty organisation accounts cleared up?

There are many empty organisation accounts on GitHub (e.g. organisation) which takes just a name, but their repositories are empty, so they're not useful at all. Is there any point of time when they ...
3
votes
1answer
91 views

Get GitHub gist file URL with syntax coloring?

I just pasted this multi-file gist: https://gist.github.com/anonymous/57e871d6779a0a38354f For some reason, GitHub decides to display both 20K+ line- files in full, making the master page a bit ...
0
votes
0answers
7 views

How do I find open pull requests authored by anyone on my team, but not other teams?

To find open pull requests submitted to repositories within my organization, I can search github like so: is:open user:orgname is:pr To search for Carol's requests, I do this: is:open ...
0
votes
1answer
248 views

Can't upload APK to Github releases

It was working 5 minutes ago, but now for some reason I can't seem to be able to upload an APK: Has it just become impossible to upload APK files to Github releases? Or am I doing something the ...
2
votes
1answer
36 views

simple page host on github.io returns 404

My GitHub URL is https://github.com/qiaoba, and https://github.com/qiaoba/qiaoba.github.io is the repository on my master branch. But I get a 404 page returned when I'm trying to visit ...
1
vote
0answers
9 views

If I am added as a collaborator to a github repository, how can I get it to show on my profile?

I was added as a collaborator to a github repository. I recieved an email about it and everything, but it doesn't appear on my "Repositories" list when I go to my profile. Is there a reason for this ...
0
votes
0answers
5 views

Using a custom name for GitHub account page, but not for project pages?

Right now, I'm using Github pages to host my personal blog, and have myname.com set up using the CNAME instructions they give. However, I have several projects which I'd like to set up pages for, and ...
0
votes
1answer
22 views

Is jqueryscript.net pages generated automatically?

I recently created a jQuery plugin and pushed in github.com. Next day (or few hour later) I found in github traffic some referral from jqueryscript.net, I click the referral and they have a page ...
2
votes
1answer
21 views

What's the minimum permission so users can tick on GitHub Task lists?

GitHub introduced some time ago Task lists. What is the minimum permission do I need to set-up, so collaborators/assignees are able to tick those boxes on the issue of the project?
2
votes
1answer
90 views

How can I default Github Enterprise to private repositories?

On the Github Enterprise system, is there a way to make "private" the default mode for repositories? We're setup to allow both our normal internal users as well as certain vendors to have access to ...
0
votes
1answer
11 views

How can I configure Github to accept files via email?

I've got systems that we version the configs on, which are capable of e-mailing the configs out automatically periodically. Obviously with a document management system (such as Alfresco via ...
5
votes
1answer
305 views

How to search with logic operators on Github?

GitHub has a search system, building on elastic search that has many advanced features like searching for repositories or users. Using Google, I can search GitHub for alternatives. The search syntax ...
1
vote
1answer
9 views

How to fix a GitHub hosted blog post URL and Project Page URL collision?

I have hosted my blog via GitHub pages along with a custom CNAME - praveenpuglia.com. A few days ago I created a project named show-me-my-colors and the project page for it had the URL - ...
2
votes
0answers
89 views

How can I see my contributions on GitHub to everywhere except my own repo's?

I want to see all contributions I made to others on GitHub, but I do a ton of work in my own repositories so my contributions tab has my commits to my repo's overshadowing my contributions to others. ...
0
votes
1answer
76 views

How to return data from GitHub API in XML?

There is official GitHub API which returns data in JSON, but is there any way to return the data in XML format? JSON format example: https://api.github.com/repos/github/github-services/issues
2
votes
1answer
2k views

Is there an alternative to using .htaccess to password protect subdirectories in GitHub Pages?

I understand that .htaccess is not supported by GitHub Pages. I wonder if there is an alternative for password-protecting particular directories for websites hosted by GitHub Pages.
2
votes
2answers
340 views

Is there a way to edit code directly on github using ssh?

I know I can log in to github and edit code directly on the site, without cloning the repository. Is there a way to do something similar via ssh, so that I can edit files using just a console? ...
3
votes
1answer
27 views

How can I navigate to a previous commit after a file has been moved?

If I have browsed to a file on a commit that moved the file, what is the easiest way to navigate to the previous commit and location of the file? For example, see the commit history on this file. ...
1
vote
1answer
220 views

How to report a bug to a GitHub project, that is missing an issues page?

I wanted to try out this project for recording audio files to Android, libogg-vorbis-android. Unfortunately, it looks like the project is missing some files that weren't added and committed to the ...
7
votes
1answer
898 views

Sort GitHub issues by priority (or by labels)

I maintain projects with hundreds/thousands of issues, and find it impossible to switch to GitHub, because GitHub's issue tracking does not allow sorting. As a workaround, I use custom labels to set ...
0
votes
1answer
57 views

Sequential to-do list using GitHub issues

At my company we are using GitHub issues to track issues, bugs, tasks, etc. We have tags for priorities but that is not working really well. What we would like to do is to build a list of tasks that ...
1
vote
1answer
81 views

Can I create an issue in a GitHub repository by sending an email?

Is there any way to allow team members to raise the issue on GitHub by simply sending the details to some email address, like how FogBugz allows it?