Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [github]

Hosting service for software projects using the Git revision control system. For questions about using GitHub web interface such as: how to use its search, pushing your branch or repository, wiki page formatting and directories, and syntax highlighting on README files.

2
votes
0answers
103 views

Can I limit the data that the GitHub network graph shows?

I am using the GitHub network graph to analyze some of my repos. I would like to limit the data that the network graph shows to only the commits made inbetween two particular dates because those are ...
4
votes
1answer
1k 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 ...
4
votes
1answer
3k 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 ...
4
votes
1answer
241 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.
2
votes
1answer
42 views

“Pin” link to commit reference from generic tree reference 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
0answers
242 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 ...
1
vote
1answer
68 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. It happens both for forks and for ...
1
vote
1answer
50 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 ...
4
votes
1answer
69 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, ...
15
votes
4answers
60k 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.
0
votes
1answer
32 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
0answers
194 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 ...
2
votes
1answer
78 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
1answer
573 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 qiaoba.github....
3
votes
1answer
501 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 received 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 ...
11
votes
2answers
586 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 ...
4
votes
2answers
73 views

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

GitHub introduced some time ago Task lists. What are the minimum permission I need to set-up so collaborators/assignees are able to tick those boxes on the issue of the project?
0
votes
1answer
18 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 ...
2
votes
1answer
25 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 - http://...
0
votes
1answer
79 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 ...
4
votes
1answer
49 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. ...
3
votes
1answer
288 views

Show pull requests on GitHub regarding a specific file or line

Lets assume I found a typo in some project's file. The project has a lot of open pull requests¹, so it's not practical to manually search through the pull requests if any of them contain a fix for ...
2
votes
1answer
199 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 ...
6
votes
3answers
357 views

How to enable Bountysource plugin on GitHub to have integration with issues?

I have Authorized app (Bountysource) at /settings/applications on GitHub (by linking my account into GitHub). Now I would like to have interactive integration with GitHub issues (so it'll ...
2
votes
0answers
38 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 ...
1
vote
2answers
2k 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?
0
votes
1answer
547 views

GitHub exclude README.md from download zip

So I'm pretty new to GitHub and I've spent the last 2 days getting to grips with it and frankly it's awesome! but you all know that already! anyhow... I'm under the impression that you need a README....
1
vote
1answer
2k views

Most efficient way to share private code samples to potential employers on GitHub?

I have currently a public GitHub account with lots of my older code on it but I want to share some of my newer, but private code with employers that I am applying to because it's more relevant. This ...
2
votes
1answer
312 views

Will GitHub delete past organization news feed items on a repository if it is deleted?

If an organization deletes a GitHub repository, are the prior public news-feed items relating to that repository also deleted?
9
votes
1answer
1k views

What happens if dependency repository is deleted on GitHub?

I own a GitHub repository, A. Repository B is another open-source project, which is owned by someone else. Repository A depends on repository B (repository B is a submodule of A). If the owner of ...
2
votes
1answer
17 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 ...
1
vote
1answer
100 views

Is it possible to display the README.md content before the directory index on GitHub?

When GitHub displays the content of a directory, it first shows an index of the files in the directory and then, if available, the content of an optional README.md file. This of course means that one ...
1
vote
1answer
42 views

Is there a “what links here” feature for GitHub?

I know its issue management system has something similar implemented. From another issue, if we link to another issue (on GitHub of course) the latter will show the source from where it was linked: ...
2
votes
2answers
666 views

How do I make a “Star this project on GitHub” link?

On a couple blog posts, talking about software projects I've seen a small thing that when clicked causes you to star the project on GitHub. It's about the same size as one of the things to like ...
0
votes
1answer
108 views

GitHub - Can I receive email notifications using non-primary address

On GitHub I have multiple email addresses. I would like people to contact me using one address (i.e. show this address on my profile), but actually receive email notifications using another. However I ...
2
votes
1answer
52 views

Can I list to which projects I ever contributed?

Is it possible to get a complete list of all GitHub projects (repositories) I ever contributed to? I know that I can see the latest 5 on my home page, but I would like to get a complete list. It ...
0
votes
1answer
103 views

Markdown editor on GitHub

I sometimes need to enter code into an issue I would like to comment on but always struggle. Indenting by four spaces is cumbersome for larger blocks, ticks work weirdly for larger blocks and I keep ...
7
votes
1answer
1k views

How to receive a notification when someone edits my project's GitHub wiki

I own a GitHub organisation and project. Unknown people (out of the organization) sometimes edit my project's wiki, which is cool. How can I receive a notification when someone edits my project's ...
9
votes
2answers
4k views

Is there any way to delete pull request status checks on GitHub?

I've been looking for a means of removing some status checks created by a CI tool I was evaluating from my pull requests in my GitHub repository, but I haven't had any luck finding a way of achieving ...
3
votes
0answers
27 views

How can I get email notifications when add or remove a tag to a github.com issue?

How can I get email notifications when adding or removing a tag to a github.com issue? I need that because we are using tag addition and removal to sign issues status changes. The statuses are ...
2
votes
1answer
21 views

How are milestones ordered in GitHub?

How are GitHub milestones ordered? Is it possible to order them somehow? They're not ordered alphabetically (I tried adding 0, 1, 2, etc., didn't work). They're not ordered by last update. UPDATE: ...
-1
votes
1answer
186 views

Should I use my personal GitHub account for work? [closed]

I have both a personal and a work GitHub account. Switching between them is a pain; even though the CLI identity management is doable (1, 2), logging in and out from GitHub's excellent website is ...
4
votes
1answer
2k views

View the history of a file that got renamed

I committed a file a few times, then renamed it and committed. How to view the history of it prior to its renaming?
1
vote
0answers
13 views

What precautions to take on removing users from Github Enterprise?

I know that I should take ownership of any personal repositories (and gists, etc) they have that might contain company data before removal. However, what's the impact on repositories belonging to an ...
2
votes
2answers
2k views

Embed GitHub repository overview and stats

Is there a way to embed a GitHub repo overview (showing its stats, creator and description, etc.) into a webpage? In Slack, if you paste a GitHub repo URL, it will show the repo description and user ...
14
votes
2answers
5k views

Will a private GitHub repository always stay private?

To create a private GitHub repository, you either have to pay for a subscription or (if you are a student) get a free student developer pack. Will your private GitHub repositories remain private ...
5
votes
2answers
2k 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?
0
votes
2answers
854 views

Is it ok to use github as a file hosting?

Is it ok to use github as a file hosting ? Now i dont mean it like cloud hosting like dropbox. For example: https://dribbble.com/shots/1722076-Free-iPhone-6-4-7-inch-Template-PSD?list=users&...
0
votes
1answer
39 views

Link to “Plans and pricing” page at GitHub

How can I click-out my way to "Plans and pricing" page? Is there any link leading to this page on my repo's page or anywhere else? I can't see it in standard GitHub footer. Each time I need to open ...
2
votes
1answer
353 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 repository wiki. The repo itself, though, is private (i.e. part of an organization). Although there is functionality in the wiki to ...