Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
0answers
5 views

When I merge 2 github accs(private and prof), do I retain the permissions and contributions from the private repositories of my organisation?

I am currently contributing to my work private repo via my professional github account. If I merge my professional account to my personal account, deleting my professional github account, will the ...
0
votes
0answers
8 views

Cannot add any file or do anything in GitHub repository

Below is the picture of the error I am facing: I accidentally did something which I can’t remember and now I am unable to do something in this GitHub repo. How can I add files or “unblock” this repo?...
0
votes
0answers
7 views

How does IFTTT know when an external event has happened?

I want to put together a simple tool to sync some documents with GitHub issues. I can do this using APIs on a timer say hourly. I notice IFTTT has GitHub support like "when a new issue is raised..." ...
0
votes
1answer
6 views

Can I view a specific commit to the gh-pages branch on github.io?

Say I have a site at myname.github.io/repository.html Can I view that page using a specific commit to that repository? For example, myname.github.io/repository.html?commit=397cb59 or something ...
-2
votes
0answers
14 views

How many subdomains could GitHub pages handles?

I'm looking for a way to have unlimited subdomains using GitHub pages. Is that possible in anyway?
0
votes
0answers
17 views

Can I get slack notifications when someone pushes to a specific public repository that I'm not a member of?

I'd like to get push notifications in slack whenever someone pushes to a specific repository which I don't own. The repository in question is public, though. What are my options?
0
votes
1answer
17 views

Disable notifications from GitHub bots

Some of the GitHub repositories I'm watching use automated bots that make lots of trivial pull requests. Is there a way to disable all notifications from these bots (I think they are GitHub apps)? ...
0
votes
1answer
22 views

What language tag do I use in GitHub Flavored Markdown for a .gitignore code block/excerpt?

I have a README.md in a repository on GitHub that shows a code block of an example .gitignore. I know that one can mark a code block with a language tag in GitHub Flavored Markdown (GFM). For example, ...
2
votes
1answer
20 views

Search label by first characters on GitHub

I'm on GitHub. I can search like this: https://github.com/jenstornell/kirby-plugins/issues?q=is%3Aissue+is%3Aopen+label%3A%22Type%3A+Plugin%22 The query looks like this: is:issue is:open label:"...
2
votes
1answer
122 views

Caching assets in website served from GitHub pages

The server serving GitHub pages (including mine) sets CacheControl: max-age=600. It means that cache is set to last only for ten minutes, what is undesirable. Is it possible to control this value and ...
0
votes
0answers
19 views

Is it possible to conditionally trigger a Github -> Slack push event webhook?

I'd like to setup a Github -> Slack webhook, so that when a commit with a certain message is pushed to a given branch on the Github repository, a message is posted to a Slack channel. I've checked ...
2
votes
2answers
19 views

Get stable (commit-specific) line-link in GitHub

When answering questions on Stack Overflow or GitHub itself, I often have this process: Browse code in GitHub UI Go to relevant file Find relevant line Click the margin of that line to get the URL to ...
0
votes
1answer
12 views

How to search all repo in Github while in another repo?

I think Github changed the search bar functionality. Now when I type anything into the search bar, it defaults to searching within the repo that I'm browsing. I want to search the entire Github in ...
1
vote
1answer
20 views

Automatic pull request labels and release comments?

I would like to have PR's labelled with released / not-yet-released, based on, whether there exists any release, where PR is merged. Also, when a release is created, then a comment to PR would be ...
0
votes
1answer
90 views

Why using wildcard DNS record in Github Pages custom domain will allow anyone to host at one of my subdomain?

When setting up custom domain for my Github Pages by following https://help.github.com/articles/setting-up-a-custom-subdomain/, I encountered the following warning: Danger: Do not use wildcard DNS ...
2
votes
1answer
28 views

GitHub pull requests: is there a quick way to get to the contributor's branch?

When reviewing a pull request, it is sometimes useful to have a look at what the contributor's branch looks like. I find it frustrating that the below label (highlighted in yellow) is not a hyperlink ...
2
votes
0answers
25 views

why some source code hidden behind 'username/password' on GitHub?

I can't see the source of deepfakes and can't clone. I always get prompted for login/password. I checked lots of other repositories and they are available (without account). I have no GitHub account ...
1
vote
1answer
74 views

How can I host a custom HTTPS domain at GitHub?

I use GitHub pages to host a static website at a custom domain. When I visit http://custom.example.com I get my website as expected. When I visit https://custom.example.com I get a certificate warning:...
3
votes
1answer
164 views

How to set Git branch protected in GitHub by default when create it

I need to make a branch protected directly when creating it. I know that I need to go to Settings and set it as protected from there, but what I'm looking for is to set the branch as protected ...
4
votes
0answers
48 views

Github @ mentions in private repos

I keep @mentioning the wrong users in our private repository's Issues. What's actually happening as a result of this? Is github 'clever' enough to determine that those users don't have access to our ...
2
votes
0answers
19 views

GitHub activity feed does not display all entries

I'm wondering why some activities are not displayed in my feed. The doc says: The feed shows you events from people you follow and repositories you watch. Just yesterday, a colleague of mine ...
1
vote
1answer
40 views

How can I disable 'issues by email' on github.com?

I'm not quite sure what the feature is called — I can't find any references to it, which is part of the problem — but GitHub Issues allow response by email, which is then added as a comment on the ...
1
vote
0answers
584 views

Fixing “This branch is X commits behind Y.” through the GitHub web interface [duplicate]

After forking a GitHub repo, some commits were pushed to the forked repo, and as a result GitHub indicates that "This branch is X commits behind Y.": How can I fix it through the GitHub web ...
0
votes
0answers
48 views

Github gist stats

For projects there's the Insights->Traffic page but on gists there's just stars and revisions (on the surface) maybe there is more info "under the hood" as in API response etc. Thanks for your help! ...
2
votes
1answer
365 views

How do I view what programming languages are used in a GitHub repository?

Where in the GitHub repo interface do I go to find what programming langauge(s) are being used? The Github documentation provides this information but does not actually explain how to access it. ...
4
votes
1answer
58 views

How can I add status indicators to a section in GitHub?

I'm reading Basic writing and formatting syntax of GitHub but failed to link directly to section in ordered file like this: What is the syntax to do like this?:
0
votes
0answers
20 views

GitHub 'forks' value larger than number of 'Network' branches

I'm looking at this GitHub project which supposedly has 32 forks. Now, true, some have been merged, but I should still see 32 branchings in the 'Network' diagram - and I just don't see them. Where ...
1
vote
1answer
109 views

How to connect GitHub to multiple channels on Slack?

I want to connect each repository on GitHub to publish notifications on its respective channel on Slack. For example: github:repoA >> slack:channelA github:repoB >> slack:channelB Is it ...
3
votes
1answer
43 views

Is there a public issue tracker for Github.com?

Does GitHub have a public issue tracker for bugs / enhancements to the github.com website itself? If not, what is the suggested way for reporting bugs / requesting enhancements to the github.com ...
2
votes
1answer
59 views

What URL escaping does GitHub markdown expect?

I have a markdown file checked into GitHub, and in this file I want to link to the following URL: https://query.wikidata.org/#%23 Diplomatic missions with no operator.%0ASELECT DISTINCT%0A%09%...
0
votes
0answers
19 views

Does a private folder always stay as such on GitHub?

I am asking because I have a free account on GitHub as a student which it seems will expire over time and now I have a few private repositories. Will they become public?
2
votes
1answer
30 views

Does GitHub notify owners if a member publicizes their organization?

https://help.github.com/articles/publicizing-or-hiding-organization-membership/ Just wondering if GitHub notifies anyone if a member makes their organization membership public?
4
votes
1answer
28 views

Will deleting my GitHub organization break redirects for a previously transferred repository?

I created an organization owning one repository in GitHub Enterprise 2.9. I then transferred the repository to another organization. Redirects are working; e.g. /old-org/repo/issues/123 redirects to /...
2
votes
1answer
22 views

Show GitHub issues that do NOT contain a label

About once a week a newcomer finds my GitHub project, asks "Is there an issue that nobody works on and that I could fix?", fixes it, then disappears forever. Yesterday two newcomers fixed the same ...
1
vote
1answer
834 views

404 error when trying to access my GitHub page

It shows 404 when I try to access my GitHub page. What am I doing wrong? My GitHub page: https://krislu.github.io/ My GitHub repo: https://github.com/KrisXDLu/
2
votes
0answers
51 views

How to synchronise a folder from GitHub repository branch upon commit to a Dropbox directory?

I have a GitHub repository with multiple branches that I and others regularly commit to, but I'm only interested in the master branch here. Whenever this is committed to, I want to sync new and ...
0
votes
0answers
36 views

Filing GitHub repositories into folders?

I have several related GitHub repositories (all owned by my user) which I would like to file together into a folder. I can't find how on the GitHub UI - but is there some way to make it happen anyway?...
2
votes
1answer
51 views

Can I allow collaborators to add themselves on GitHub?

I'd like to send out a URL to an external team such that anyone who clicks on it can join my private repository as a collaborator using a read-only role. I don't want individually to add every ...
3
votes
2answers
1k views

WiKi for an organization in GitHub — possible?

Is it possible to create a WiKi on an organization level in GitHub? That is, I don't want a wiki in a single repository and I want to avoid creating a new empty repository only Wiki. Instead I want to ...
0
votes
1answer
28 views

Blogging on Medium but retain versions

Is there a way I can write blogs on Medium but still have those version maintained on GitHub? Or write them on Jekyll GitHub pages and have them post to Medium? Basically version control your Medium ...
5
votes
2answers
110 views

How to show the license overview in GitHub?

but when I add the same LICENSE to my repo no overview is shown. How to achieve this?
9
votes
4answers
13k views

My GitHub account has been suddenly “flagged” and hidden from public view - how come?

I just got this message bar on GitHub saying that: Your account has been flagged. Because of that, your profile is hidden from the public. If you believe this is a mistake, contact support to ...
3
votes
1answer
64 views

Searching for stuff in GitHub repo through mobile web

Is there a way to search project issues while using GitHub from a mobile browser? I could not find a search box for searching through project stuff. I was expecting the same functionality as in the ...
0
votes
0answers
47 views

Is it possible to preview a 'Squash and merge' on GitHub?

I have a pull request from branch new-files that contains contributions from multiple authors. Before I squash and merge this pull request into master, I would like to preview the squashed commit so ...
1
vote
1answer
701 views

Restrict master branch/pull request access to certain users

I'd like to restrict write access to the master branch in a github organization repository to its owner (namely me). This would enforce all contributors to make a branch instead of committing directly ...
3
votes
2answers
646 views

Does GitHub update my contributions section when I merged my branch into master branch?

I made 28 commits on my play_grnd branch. When I merged my branch into master branch (or someone merged my branch into master), Does contributions section on my profile page update itself with ...
2
votes
2answers
3k views

Why is the GitHub “file upload button” not showing up?

As I understand it, under the main page of the repository there should be a button to create/upload new file to the left of "Username / Repository Name" in the GitHub web interface. There is not. ...
2
votes
1answer
4k views

GitHub pages 404 File Not Found error

I am attempting to publish a website using github pages. I have a Index.HTML, and see the message "Your site is published at https://starsweeper.github.io/" in the repository settings, but when I go ...
2
votes
1answer
298 views

How to remove or hide other contributors in my GitHub

I am new to GitHub. I have recently created a git repo and committed few of my code in GitHub. After few of my commits I see different names are visible in my contributors list. That may be because ...
1
vote
1answer
791 views

Do GitHub's statistics of visitors and cloners include owners?

GitHub's UI offers a graph of (unique) visitors and cloners. Question is, does that include visits and clones by yourself, as an owner of a project? If not - what about visits and clones by recognized ...