/r/github

Photograph via snooOG

A subreddit to discuss GitHub's platform, products and features

Do you have or know of a project on Github looking for contributors? Tell us about it and we'll add it to the /r/github wiki!

Welcome to /r/github!

  • News about github

  • Relevant interesting discussion

  • Questions about github

We'll soon be writing an /r/github FAQ list. In the meantime, the github help pages and bootcamp are good places to start. Here's a handy git cheat sheet.

Looking for Github projects to contribute to? Check out our handy list of projects looking for contributors!

If your submission doesn't show up on the subreddit, send us a message and we'll take it out of the spam filter for you!

/r/github

120,876 Subscribers

0

Should every developer learn git and github?

2 Comments
2024/11/19
19:32 UTC

0

Github Enterprise billing via Azure

Hi everyone,

I’m admin in a Github Organization, and I already have mettered billing set up via Azure for Github Copilot, and i would like to upgrade to a github enterprise subscription, but i can’t seem to find if i can be billed by the already installed azure subscription.

Does anyone know how i can do this?

Sorry English is not my first language

Thanks a lot in advance

0 Comments
2024/11/19
15:38 UTC

1

Help, Pull Requests are getting merge conflicts almost every time.

All of a sudden all our PRs for multiple repos are presenting merge conflicts. Those conflicts are really basic things that should've been detected as normal changes. I work in a very small team where only one person ends up making changes on one repo, and our flow has been very straight forward for years. But now every single time we want to move, let's say from dev to test, there's always conflicts. This is all very strange.

Any Idea of what can be happening?

2 Comments
2024/11/19
13:39 UTC

1

Sign Up Issue

I tried setting up an account, but I was never sent a verification email. I tied using the “I can’t sign in feature”, but after I select the issue and verify, I get a red box error at the top with no text. Is anyone else having this issue or does anyone know of a fix?

0 Comments
2024/11/19
13:21 UTC

1

Github noob needs help

So I have 2 github accounts -

  • 1 is empty (no commits) and is my personal email,
  • 2 has commits and was my working email.

I no longer have my work email so I want to move or merge account 2 onto my personal email which is occupied by account 1. When I do that its telling me email already exists error. So what can I do now?

Can I delete account 1 and hopefully be able to set up again on that account or do I need a completely new account. I

1 Comment
2024/11/19
12:27 UTC

2

GitHub Multi-Topic Explorer: A Tool for Multiple Topics Searches

If you've ever tried to explore GitHub topics and found that the platform doesn't exactly let you explore repositories that span multiple topics, you're not alone. While GitHub allows you to search by a single topic, it doesn't natively provide a way to search for repositories at the intersection of multiple topics. That can make it hard to discover more nuanced projects that fall into overlapping areas of interest.

To solve this, I’ve developed GitHub Topics Explorer. This allows you to combine multiple topics and explore the repositories that match all of those topics, giving you much more granular results in your search for perfect tool , framework or app.

Key Features: Multi-Topic Search: Combine multiple topics (e.g., machine-learning + deep-learning + python) to find repositories that fit all of your search criteria. Granular Filtering: Focus on more specific intersections of topics and discover projects that you wouldn’t find with single-topic searches. Simple Interface: Just input your topics and hit search to get a refined list of repositories that fit your criteria.

Why This Is Useful: Better Discovery: For developers who are interested in niche or specific intersections of technologies (e.g., blockchain + machine-learning), this tool enables more precise exploration than GitHub’s built-in search. Targeted Research: Researchers, hobbyists, and developers can now more easily find repositories that align with a multi-faceted set of interests, improving the chances of discovering useful or related projects.

Community and Collaboration: Finding repositories at the intersection of multiple topics can foster collaboration between people working on similar but distinct areas of interest.

Example Use Cases: Searching for repositories that deal with both WebAssembly and Rust. Finding machine learning projects that also incorporate Natural Language Processing (NLP). Exploring open-source software that spans both data-science and cloud-computing.

If you're someone who’s limited by GitHub's current topic search, give this tool a try and let me know what you think! I’d love feedback, suggestions, and ideas for how to make it even more useful.

Feel free to play around with the search functionality. I present to you the Triton for Repo Searches! Happy coding!

https://githubtopics.cloudninelabs.site/

0 Comments
2024/11/19
11:36 UTC

1

How to Display the Total Count of Open Issues Across Multiple Repos on My GitHub Profile README?

I'm trying to enhance my GitHub profile README and need some help with two things:

  1. I'd like to include a link that lists all open issues in my repositories. When I'm logged in, I can use the search user:myUserName is:open, but this doesn't seem to work if I'm not logged in. Is there a workaround for this?
  2. I also want to display a badge from shields.io that shows the total count of open issues across all my repositories.

Any suggestions on how to achieve these? Thanks!

1 Comment
2024/11/19
11:07 UTC

91

Readme repo is "retired"

My GitHub username(naterfute) was apparently used in a package that has more than 100 downloads or something a week before it was deleted. and now I can't have a profile readme. I think this is stupid. I can't even find and mention if this package they are talking about. But I don't get a profile readme because of it?

10 Comments
2024/11/19
07:58 UTC

1

Can html form generator be deployed?

Hello first time asking questions about this site I have a project called LMS where I create a virtual classroom that can be seen by both student and professor just like a Google Classroom. My problem was when I try to input the created html in my repository It is not giving me access error, I try to copy what the reference said in media platforms but I don't know how use the terminal for coding. Can anyone give me a procedure step by step on how to make my project happens and also name the application that I needed to download because I don't know what they called. Much Appreciated to anyone who share their knowledge and advance thank you to all.

1 Comment
2024/11/19
06:45 UTC

0

How To Stay Anon When Pushing/Uploading.

Hello dear frens,

I’m trying to push code to GitHub while remaining completely anonymous. Here’s what I’ve done so far:
-Created a GitHub account with a burner email (anonymous and not linked to me).

-I’m using a VPN and a proxy to mask my IP address.

My concern is that I’m still pushing from my personal laptop, and I’m worried there might be some traces left (e.g., system hostname, device fingerprints, or other metadata).

Is there any way GitHub could still trace my identity in this setup? Should I be using a virtual machine or a live OS like Tails to push my commits? Or are there other best practices I should follow to make sure my actions are untraceable?

Thanks for your time.

7 Comments
2024/11/19
04:17 UTC

1

beginner trying to set up github pages with custom domain

Hi, a few years ago I was picking up webdev as a hobby, and was gifted a domain name. I wanted to use the free github pages, and recieved some help linking my custom domain name. my domain name was successfully connected to my github pages. life got busy, and I didn't touch the site or open github for some time. my github pages now displays a 404 page when I got to my domain. now, I want to revisit, but I am unsure of how to address. im inside github, but I am having trouble finding the details of where my github pages account is... sorry if I sound helpless. I tried googling how to find my github pages in github, but each resource takes me to a very generalize overview of github pages and how to set up a custom domain all over again. is this the only way?

9 Comments
2024/11/18
22:26 UTC

1

Why isn't my GitHub-hosted image rendering in a GitHub issue

I would like to embed images in GitHub issues and have them render inline, but without pasting them into the issue (uploading them to GitHub's CDN)

Instead, I want to reference images that are already hosted in my repository (e.g., in a folder like images/). However, when I try to use relative paths or file URLs from the repository (e.g., https://github.com/<user>/<repo>/blob/main/images/image.png), the image doesn't render

I tried embedding with this:

<img src="https://github.com/(MY_ORG)/(MY_REPO)/blob/main/images/image.png" />

https://preview.redd.it/26ptrzvqxp1e1.png?width=861&format=png&auto=webp&s=d8f3f347d88ec050c872b1209d5671cedc3e98f1

Does anyone have any ideas on what to try/ have you been able to do this in the past? thank you! <3

2 Comments
2024/11/18
20:23 UTC

0

Small data storage

I have a workflow that needs to store data (<5kb). I want to run this workflow in 100 repositories. I have an app that then needs to get at these data (e.g. via github api). I don't want to have to set credentials (secrets) in each repo.

  • I thought about a public api (no auth) for POST requests, but don't like the idea of anyone calling that.
  • I thought about calling another workflow (reusable with workflow_call trigger) to generate presigned urls for s3 upload, but retrieving secrets from its own repository isn't possible (it's on the roadmap apparently).
  • I thought about getting each workflow to set a repo variable with the data, but you can't use the github_token to do that (must be PAT or app)
  • I thought about using github issues for this, but it's hacky, plus you can't delete issues via the api (I think)
  • My latest thought is to upload artifacts and then try to download them via the api, but the number of rest calls required to determine the run I'd and artifact I'd before downloading seems excessive.

Any ideas? I can't use custom properties and I can't set org secrets as I'm not an org admin. It's frustrating there is no secrets level between org and repo, e.g. team secrets.

0 Comments
2024/11/18
18:58 UTC

0

Can I use Github Static Pages for user testing?

I couldn't find any definitive info, so trying to ask the community here:

My org wants to test our platform's front-end designs to inform our design decisions before we pass them on to our development team. Can I use github static pages to host a site for others to review?

  • It would have to be based from a private repo because my org is concerned with keeping proprietary information/concepts secure.
  • Is there a way to just share a link to a group of testers?
  • In the least, would it make more sense to create a guest account within the org acct to view the pages? (and i suppose I could just change the password to the guest account regularly).
  • We have Figma we've been initially for user testing, but the prototyping breaks down frequently given the intricacy of some of our concepts.
1 Comment
2024/11/18
18:26 UTC

1

My movie info app project with React Native

A mobile app built with React Native, Expo, API, TypeScript, and Tailwind CSS, allowing you to explore movie information.

I am in the development phase, but certain features are completed. It might be helpful to you as well.

Github Repositories Link : https://github.com/LightSenpai7/MovieInfoApp

0 Comments
2024/11/18
16:59 UTC

1

GitHub PM interview

Anyone has tips on PM interview at GitHub? How long does it take to hear back after the interview loop? I am wondering as I am yet to hear back. Really loved the moderators and was wondering if someone had any info that can help :) Thank you!

1 Comment
2024/11/18
16:48 UTC

0

Image issue

I am trying to solve an issue with images on GitHub Enterprise (GHE). I've searched and while I see others report image issues my issue seems different.

We use GHE to track issues, particularly in regards to Section 508. These issues have comments and the comments almost always have images/screenshots associated with them. At some point the URLs for the image resources changed. The newer URL is easier to remediate but the older URL is not.

We have a small Dockerized Ruby on Rails (RoR) application that uses GHE API/Token to go through dozens of projects over a specific time period, find all the issues we are concerned about and then generates an HTML/PDF report of these issues. Weeks ago the images stopped displaying in the HTML/PDF reports but display fine when on GHE site.

Since we are using RoR we are also using the gem Octokit for accessing the API. Instead of just using the URL of the image in our HTML view I can use the Gem to perform a `get` on the image URL and receive the raw image bites. I simply change the application to use a custom route in RoR and voila, the images now work. Except, this is only working on the newer URLS. We have thousands of older images that will not work.

The older URL images will work if the URL is appended with parameter `?token=xxxxx`. This is not the API Token and changes periodically between request. GHE server seems to be appending this token to the GET request because it is not in the comments MarkDown text. I have tried using Curl as well but always end up with redirects to log-in and when the auth token is working the URL always return a 404 as expected without the token parameter.

There is a manual solution to resolve this and that is to use GHE, view the comment, save the images, edit the comment and re-upload the image and the image now stored under new URL and application is resolved. This is just not practical as we have thousands of images and comments that need remediation.

Anyone out there have any ideas?

Thank you.

2 Comments
2024/11/18
16:45 UTC

0

Bulk Actions for Github Repositories, a Little PoC Website

1 Comment
2024/11/18
16:25 UTC

0

At what point is it worth setting up version control for a project?

I find that I wind up jumping into a lot of personal screwing-around-with-code a bit too quickly to do everything properly. Sometimes one of these sketches evolves into something that I care about, but I usually find out that this is the case when I break it before setting version control.

What is a good indicator that I should take the time to batten down the hatches on something like that? On the other hand, what's a good indicator that it's okay to leave something informal?

30 Comments
2024/11/18
11:57 UTC

0

Issues with deploying github pages site.

I have been trying for hours to deploy my VUE.js/ VITE app on my github pages. I keep running into the same error:

main.ts:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "video/mp2t". Strict MIME type checking is enforced for module scripts per HTML spec.

Ive been using github forums and GPT in multiplte attempts to resolve this issue but I can't seem to resolve this MIME type error which only exists when I deploy it to my pages branch BTW. When running the project locally, all is fine and life is good. If theres anyone who might be able to help me with this id appreciate it. I could also hop in a Discord call to make it a bit easier with screensharing etc. If more context is needed I would be happy to provide any, thanks in advance.

1 Comment
2024/11/18
10:42 UTC

2

.github/PULL_REQUEST_TEMPLATE/foobar.md seems not to work

I do know how to create a pre-selection page for "New Issues" like this.

https://preview.redd.it/u6emtexiem1e1.png?width=959&format=png&auto=webp&s=07407b99011251405e7cb468b676e76ece99d104

I tried the same method for pull requests. But it does not seem to work. Isn't it possible?

3 Comments
2024/11/18
08:26 UTC

27

Github, Bitbucket or Gitlab?

I'm a newbie getting started out in software developing. Which one of these platforms is best for casual development in your opinion?

37 Comments
2024/11/18
05:33 UTC

16

What is the default user password in bash terminal of github codespaces?

Whenever I use su command it is asking for password, I never set the password for it. So Is there any default password for it.

14 Comments
2024/11/18
05:18 UTC

0

Heat Map not working after switching laptops

Okay so I switched to a new Macbook Air yesterday and started working on it since Im busy with quite a lot of stuff. Now I earlier used a Windows laptop and have been using it for 4 years now. Just noticed that I made like 7-8 commits/contributions today but the heat map isnt showing them I don't understand whats wrong , someone please help

3 Comments
2024/11/18
04:17 UTC

3

Clone a repository with the last commits?

Hello

Sorry if this is a silly question!

I have the following repository

https://github.com/cnlohr/ch32v003fun

All I want to do is clone this repository with the latest commits to see if the bug was fixed, I don't want to push anything to that repository.

Thank you in advance guys

8 Comments
2024/11/17
22:34 UTC

0

What licence should I use?

I have an open source project (https://github.com/Eric-Ward475/Minty-Pi-Revival/) and I want people to be able to make their own versions of it, only if they credit me (original creator).

3 Comments
2024/11/17
19:03 UTC

Back To Top