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
31
votes
8 answers

Can Git and iCloud Drive be effectively used together?

In the same flavor as this question, are there any possible complications that can arise when using the two services together?
Matt
  • 2,576
  • 6
  • 34
  • 52
31
votes
6 answers

Create a GitHub repository from command line

I have been trying to push my local repo changes to github from command line. I have been away from git for a while now so I don't remember a few things. For the past hour I have been trying to push the repo without creating a remote repo on…
user2498079
  • 2,872
  • 8
  • 32
  • 60
31
votes
3 answers

git request-pull: how to create a (github) pull request on the command line?

I've cloned a project, and pushed a branch with just a renamed readme file to README. I am trying to create a pull-request on the command line, just to try PR from here instead of a website. $ git request-pull origin/master origin readme:readme The…
sensorario
  • 20,262
  • 30
  • 97
  • 159
31
votes
5 answers

To use on Visual Studio Code, but show "Could not read from remote repository."

I started studying Git and GitHub. And now, I could create my repository to practice and I could push commits to origin repository(in GitHub) on git bash. But when I tried to push on Visual Studio Code, I have received this error Permission denied…
Irrationnelle
  • 492
  • 1
  • 8
  • 13
31
votes
1 answer

How to remove a file from being tracked by git?

I have a file config-dev.php which will be used as a dev version config. Now, another developer wants to make his own changes in this file. When he commits, this file is commited and my config-dev.php is overwritten by the file from my…
MilMike
  • 12,571
  • 15
  • 65
  • 82
31
votes
4 answers

How many public repositories can be made on GitHub for individual account?

I was interested to know, how many public repositories can be created on GitHub for an individual account (not an organization account). Is their any limit on number of public repositories that can be created on GitHub.
Mahtab Alam
  • 607
  • 2
  • 9
  • 22
31
votes
8 answers

Best strategy to deploy static site to s3 on github push?

I'd like to automate deploying our site to AWS S3. I've written a node script to automate building and uploading the site, but I'd like to have the script automatically run whenever the master branch of our repo is updated on github. I looked into…
Mike Douglas
  • 3,345
  • 2
  • 28
  • 30
31
votes
2 answers

Git always asks for my ssh-key passphrase

I have a problem that occurs when using git. When I use the command git pull origin my_branch or git fetch or git push origin my_branch, git always asks for my passphrase for key. I don't understand why this occurs? Can someone please explain why…
Khanh Pham
  • 2,848
  • 2
  • 28
  • 36
31
votes
5 answers

Is there a way to import Jira issues to GitHub?

I've tried exporting issues from both GitHub and Jira to CSV files, but I've never tried exporting Jira issue then importing it to GitHub, is this possible? If so, what would be the best way to approach something like this?
watchingdogs
  • 531
  • 1
  • 7
  • 12
31
votes
6 answers

Automatically copy pushed files from one GitHub repository to another

I have two GitHub repositories. I'd like to automatically (probably using hooks and/or github API) commit and push files to the second repository when they are pushed to the first one. The second repository is not a clone of the first one, their…
Drax
  • 12,682
  • 7
  • 45
  • 85
31
votes
4 answers

Change font in Github Flavored markdown for Table

I am creating a Wiki page in github.com. I am trying to use table in the Markdown edit mode. I created table by embedding html expecting to add inline-css later but found that inline-css also not working. I tried following: