Questions tagged [github]

GitHub is a web-based hosting service for software development projects that use Git for version control. Use this tag for questions specific to problems with repositories hosted on GitHub, features specific to GitHub, and using GitHub for collaborating with other users. Do not use this tag for Git-related issues simply because a repository happens to be hosted on GitHub.

GitHub is a web-based Git repository hosting service. It offers all of the distributed revision control and source code management (SCM) functionality of Git, as well as adding its own features.

Unlike Git, which is strictly a command-line tool, GitHub provides a Web-based graphical interface with desktop, as well as mobile, integration. It also provides access control and several features for collaboration such as bug tracking, feature requests, task management, and wikis for each hosted project.

GitHub offers plans for private repositories, as well as free accounts, which are usually used to host open-source software projects. As of January 2023, GitHub reports having more than 100 million users and more than 372 million repositories, making it the largest host of source code in the world.

GitHub Pages is a service they offer that will host static websites using code from a public repository's main branch. The URL format is https://username.github.io.

Source: GitHub Wikipedia

Using pull requests

Pull requests let you tell others about changes you've pushed to a repository on GitHub. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary.

Tutorial: Creating a Pull Request

Resources

Graphical clients for certain platforms:

56809 questions
35
votes
3 answers

Invoke GitHub Actions workflow manually and pass parameters

I want to pass some dynamic parameters and invoke my GitHub Actions workflow manually (ideally via some API). Is this possible?
Raj Chaudhary
  • 1,444
  • 3
  • 16
  • 31
35
votes
1 answer

Github actions actions/checkout@v2 lfs: true flag not converting pointers to actual files

This is my github actions yml file: name: CI on: [pull_request] jobs: build_ios: name: Set up runs-on: ${{ matrix.os }} strategy: matrix: os: [self-hosted] node-version: [10.x] steps: - name:…
SudoPlz
  • 20,996
  • 12
  • 82
  • 123
35
votes
4 answers

Install an npm module from a private GitHub repository using GitHub Actions

I am trying to run a build for a Node.js project using GitHub Actions. As part of the npm install, I need to install an npm module directly from a private GitHub repository (not from GPR!). In the package.json I have: "dependencies": { ... …
Golo Roden
  • 140,679
  • 96
  • 298
  • 425
35
votes
2 answers

GitHub Actions Invalid Workflow File Error

I started using GitHub Actions and I was able to setup a CI pipeline for Elixir, the action builds and tests without any issues. I also wanted to deploy the application using the heroku actions so I went ahead and added the one that is available in…
Frankely Diaz
  • 886
  • 1
  • 9
  • 16
35
votes
2 answers

Github Webhook With Jenkins return 302 Found

I set up localhost jenkins, using ngrok to expose my jenkins to github. I didn't set up any credentials. When I test delivery from webhook, it shows 302 not found. Response: Content-Length: 0 Date: Mon, 16 Apr 2018 02:09:22 GMT Location:…
Xiaoxi Bian
  • 359
  • 1
  • 3
  • 4
35
votes
14 answers

Can't login to GitHub from SourceTree anymore

I was able to login up until today when it just stopped working. I'm using a Windows 7 machine. I have 2-factor authentication. I've tried personal access tokens. I've tried deleting my credentials and re-adding them. I've tried nuking and/or…
Jeffrey Getzin
  • 531
  • 1
  • 6
  • 11
35
votes
1 answer

How does the github website work (architecture)?

Github is a truly amazing service. I'm keen to understand what their architecture is like and how they fit the different pieces together; how they store the repositories, how they access those repositories to show file contents, how they handle…
Phillip B Oldham
  • 18,807
  • 20
  • 94
  • 134
35
votes
3 answers

What are the ethics & etiquette of forking someone else's github project to release it as a gem?

I'm doing some spare time coding around CultureGrid. They have a SOLR API to access 1.2m cultural artefacts. I've released a gem to consume their service, but I've got a nice idea about using Datamapper with a SOLR adapter backend to do it in a…
stef
  • 14,172
  • 2
  • 48
  • 70
35
votes
2 answers

Smudge error: Error downloading

I'm not sure if this is the right forum to discuss git-lfs but as we have a tag for it I'll post my question. I have read the "Troubleshoot Git LFS in Bitbucket" page. I'm getting the following error when runing: ssh-agent bash -c 'ssh-add…
Dan-Dev
  • 8,957
  • 3
  • 38
  • 55
35
votes
3 answers

Is it possible to use HTTPS/SSL on GitHub Pages sites with a custom domain?

Is there any way to use HTTPS/SSL on GitHub Pages sites that use a custom domain? SSL is recommended for better search engine ranking and there are a lot of other uses for it beyond that.
owais
  • 4,752
  • 5
  • 31
  • 41
35
votes
12 answers

How to change git account in Git bash?

I have weird problem with Git bash. I have two Github accounts, let's say A and B. I set my name and email, like in account A: git config --global user.name git config --global user.email I initialized new repo, did a commit, then push and git…
Ish Thomas
  • 2,270
  • 2
  • 27
  • 57
35
votes
22 answers

Images not displaying in Github Pages?

I added a project site to my Github project. But some photos are not displaying in the site. Img code:
folder structure (img is a folder): img Screenshot2.png index.html I…
CJR
  • 3,174
  • 6
  • 34
  • 78
35
votes
4 answers

Keeping a fork up to date

I wanted to commit somthing to a github repository, but I (obviously) didn't have any rights to do so. I made a fork of that repo, commited my changes and submitted a pull-request. Now, the problem is that after a while other people have made…
MyNameIsHans
  • 624
  • 1
  • 7
  • 15
35
votes
7 answers

git checkout error: cannot create directory: Permission denied

I am facing issues with the git checkout command. Please help. Here is what I did. Created a local directory. Created some files. Initiated a git repo locally. Created a repo in bitbucket & pushed my local repo to bitbucket Created a new branch…
TechiRik
  • 1,893
  • 6
  • 27
  • 37
35
votes
4 answers

Haskell Stack install package dependency from github

Is it possible to install a version of a package from github using Haskell stack? e.g. in a .cabal or a stack.yaml file, how can I point a dependency at a git repo/branch/revision?
Abraham P
  • 15,029
  • 13
  • 58
  • 126