GitHub is a web-based hosting service for projects that use the open-source Git revision control system.

learn more… | top users | synonyms

2
votes
2answers
53 views

merge vs rebase pull requests on github

I am actively working on a two person project with very few longstanding feature branches (longest existing branch is 3 weeks). I have spent the afternoon trying to understand merge vs rebase and ...
95
votes
10answers
39k views

Should images be stored in a git repository?

For a distributed team that uses Git and Github as version control, should images also be stored in the git repository? For the most part, the images won't be changed. The folder containing them will ...
4
votes
1answer
70 views

Why use a dedicated “pushbot” user which automatically merges approved pull requests?

Most Github repositories I'm aware of use the following workflow for pull requests: one or several users with "contributor" privilege review the suggested changes and then one of them merges the pull ...
0
votes
1answer
58 views

Managing a project on github in different repos or one? [duplicate]

An app I am working on (iOS) is being distributed to different businesses and each business needs a few customizations to said app before it is distributed to users on the app store. Most files will ...
3
votes
3answers
172 views

Should you create a github repo/project for things as small as a useful function

Is it appropriate to make a fully blown github project/repo for something that you believe would be useful to others, but is as small as a single function?
2
votes
0answers
45 views

mining (& searching in) github projects

Is there any way to find every github project which: is GPL licensed has over one million lines of C++ code I am imagining that the Github API was designed to automate such requests, but I am not ...
0
votes
1answer
81 views

Fork Management of Git Multi-level Hierarchies

We have the following Git hierarchy structure in place, where each child is forked from the parent. If we build something in Client1 that will be useful in the entire hierarchy, what is the best way ...
1
vote
0answers
32 views

Combining GitHub and TFS / Visual Studio Team Services

I wonder if it's possible to combine Visual Studio Team Services and/or TFS with a GitHub repository. We think both products have their own advantages and would like to work on one repo within our ...
14
votes
4answers
5k views

code review with git-flow and github

With regular git and github I can do a code review by simply creating a pull request of the feature branch I'm working on to the master branch. How would I do code reviews with git-flow? With workflow ...
77
votes
8answers
8k views

What is the relevance of resumes in the age of GitHub, Stack Exchange, Coursera, Udacity, blogs, etc.? [closed]

My resume is no longer relevant. It can no longer contain an adequate description of my technical abilities. One can get a much better sense of what I am capable of by looking at my GitHub ...
3
votes
2answers
93 views

Is a guardfile part of the private developers environment or the public OSS project?

Let us say I have an open source project on github. Now I wish to include tools required to develop the project so others can easily contribute. It is hard for me to tell when these tools should be ...
115
votes
9answers
10k views

Maintain hundreds of customized branches over master branch

Currently we have one master branch for our PHP application in a shared repository. We have more than 500 clients who are subscribers of our software, most of whom have some customization for ...
0
votes
2answers
72 views

Is it better to start a Pull Request or perform a local merge commit on master?

I have been using GitHub for quite some time now and I usually used to push my feature-branches and then start a Pull Request which I myself merged. I found it helped me keep track of where I merged ...
2
votes
1answer
45 views

Declaring multiple licences in a GitHub project

For years, I've been a great fan of putting licences on things shared online to make it easier for others to determine if and how they can reuse said things. Before GitHub began to gently 'push' its ...
3
votes
0answers
145 views

Keeping a permanent git fork updated [closed]

Please consider the following scenario: There is an npm package named some-package. There are a couple dozen known dependent npm packages that all depend on some-package. I forked some-package and ...
1
vote
0answers
42 views

What is the license of a GitHub Gist? [duplicate]

Sometimes a GitHub Gist contains carefully crafted code that seems to qualify for what the Apache License would call a "original work of authorship", but the as far as I can tell the author never ...
0
votes
0answers
48 views

What is the best way to handle two very similar projects with Git? [duplicate]

I am very new to Git (as in started last week to use it properly) and I have 2 projects. Project X and Project Y which is a fork of Project X with a lot of very slight modifications. What is the ...
5
votes
1answer
794 views

Importing plain javascript libraries in an AngularJs application

I am working on an AngularJs project which is getting bigger very fast. Currently I need to store some user data, so I was using $localStorage for Angular. But I had a problem, as the application is ...
11
votes
1answer
313 views

How to do peer reviews on GitHub pull requests?

We're moving from Bitbucket to GitHub and one thing we are struggling with are peer code reviews that worked very smoothly on Bitbucket like this: Author opened a Pull Request (GitHub: the same) ...
1
vote
0answers
104 views

Git Repositories updated

I would like to keep two Git repositories updated. First one, is GitHub open source project that gets updated frequently. Second one is a private held Git Repo located other than GitHub. This one ...
2
votes
0answers
76 views

Justification for different code bases on different branches in the same repo? [closed]

Branches in git repos or similar are practically always derived from the same code base; after all, they're usually merged back in to master later. But, if you wanted your open source project on ...
2
votes
0answers
92 views

What to do with the code from my rejected pull request?

I just recently sent off a pull request to a small but well-known open source project. This pull request added a new feature, as well as unit tests (and improvements to the existing tests). However, ...
55
votes
4answers
5k views

Why squash git commits for pull requests?

Why does every serious Github repo I do pull requests for want me to squash my commits into a single commit? I thought the git log was there so you could inspect all your history and see exactly what ...
3
votes
1answer
91 views

Hide authentication information on Github

When your creating a project that has some sort of information that needs to be private (authentication details, etc), but you want to use some public repo like Github, are there anything that can be ...
7
votes
5answers
1k views

Could submitting a Pull Request ever constitute accepting a Contributor Licence Agreement? [closed]

Some software projects have a Contributor Licence Agreement. The agreement could, for instance, assign copyright of 3rd-party contributions to the original project creator. Could submitting a Pull ...
3
votes
0answers
361 views

Visual Studio, Git, and common code

I'm looking for some advice on how I should arrange a large new project I'm working on to allow it be more easily managed in Git (using GitLab), and developed in Visual Studio. To give an idea of ...
5
votes
3answers
2k views

How can I get an anonymous user to submit bugs on a private GitHub project?

Our company has a private GitHub repository for the project I'm working on. After a full summer of work, it looks like we'll be launching this week (wheee!). However, I want to include a "submit a ...
1
vote
3answers
142 views

Git repo with lots of medium-sized images?

I've just used git-tfs to checkout a TFS repo into a Git repo. The .git directory comes to 2.33GiB, and the primary reason for this is a couple of large directories coming to about 650MiB each. Each ...
2
votes
2answers
259 views

When using the Apache license, is there still a need for a Contributor License Agreement (CLA)?

I can certainly see the need for CLAs with a terser license like MIT or BSD, but the more verbose Apache seems to already have that type of verbiage in it. I would prefer to not add this level of ...
13
votes
3answers
3k views

Git Project Dependencies on GitHub

I've written a PHP framework and a CMS on top of the framework. The CMS is dependent on the framework, but the framework exists as a self-contained folder within the CMS files. I'd like to maintain ...
14
votes
5answers
3k views

Is there a purpose for using pull requests on my own repo if I am the only developer?

So I got started with a real project of mine on GitHub and things are going pretty well and ideas are flowing a lot faster than I initially thought. In order to keep things organized, I setup some ...
47
votes
11answers
13k views

Why “Fork me on GitHub”?

I understand how GitHub works, but one thing I've been confused about is, why almost every OSS project lately has a "Fork me on GitHub" link on their homepage. For example, http://jqtjs.com/, ...
1
vote
1answer
145 views

Can I use GitHub as my mobile app's data store? [closed]

Given a relatively simple mobile app that consumes semi-static (infrequently updated by hand) data, is it a good idea to simply store said data in a public GitHub repo, in form of a structured ...
0
votes
1answer
76 views

Will changing published git history on a private repo cause problems when I make it public?

I have a github repo that is currently set to private. I'd like to make it public but before doing so would like to clean it up a little bit by squashing some commits and possibly rebasing so that the ...
1
vote
1answer
47 views

What's the proper way to organize and revision a pull request

I'm working on an open source project for the first time and I'm adding a feature to the source. The way I've been going about, is I've squashed my individual commits into on clean commit for the ...
0
votes
0answers
37 views

Deployment keys vs. virtual users on GitHub

GitHub supports deployment keys which are attached to a repository instead of a user. Such a key can be used to read and write the repository and is intended as a mean for automatic processes ...
6
votes
1answer
135 views

Introducing Pull Requests for a 2 person team - merge my own requests?

I'm introducing git to a junior team member (a co-op). They are comfortable now with the basics of adding, committing, pushing and pulling. Now I want to introduce them to pull requests and ...
2
votes
1answer
45 views

How to handle OSS license on GitHub with non-OSS pictures

I am working on an app that will be open-sourced and published on GitHub. But, the problem is, that the graphics my client gives me contains some in-house characters that the company owns. We have a ...
4
votes
1answer
132 views

Does Changing Author info in git repo affect other contributors?

After contributing some weeks I noticed that the author name in my commits were incorrect. Does changing the git history with author info in the commits create any problems for my fellow contributors? ...
0
votes
1answer
105 views

Using open source apps source code under Apache v2 [closed]

I modified some code and added few (minor) changes to an open source Android app. Now I want to publish it on play store. The app is licensed under Apache license v2. The license file is included in ...
0
votes
1answer
68 views

git workflow: read access + pull request or write access? [closed]

Suppose there is a small team with 1 senior developer and 3 junior developers working on the same repo in a team on a github organization. The senior developer has admin access. What is the most ...
0
votes
0answers
39 views

GIT repository layout for a Solution with multiple projects [duplicate]

I was a TFS User where we had a single Solution with multiple Projects and one developer can check out his project when they need. Also the Build system can do separate build for each Project or ...
3
votes
0answers
63 views

Client and access to Github history [closed]

About a year ago, our company hired a development company to build a mobile app we had been longing to do, but never got the time to develop. With previous bad luck with outsourcing, we got it on ...
1
vote
1answer
47 views

How to use git for projects which has shared files

Our team uses shared folders (Windows) to work on projects together. We never make local copies, but always edit the files in-place. Now I've heard we would be much better off using git. Is git a ...
25
votes
8answers
13k views

How safe & trustworthy are hosting sites such as sourceforge, github or bitbucket for closed-source projects? [closed]

I am considering using sourceforge, bitbucket or github for managing source control for my business. I have open projects and I participate in open projects such as gcc. But I also have a business ...
0
votes
1answer
125 views

How can I setup custom license for my github repository?

During creation of new Github repository I could choose license under which my project will be hosted on Github. I didn't do that because Github suggested only few licenses to choose (and WTFPL wasn't ...
0
votes
0answers
14 views

Maintaining Software Variants [duplicate]

What is the industry-accepted way of publishing and maintaining an open-source project which has different "flavors" or variants, but basically uses the same codebase? For example, I am working on a ...
2
votes
1answer
300 views

Changing license of personal GitHub repository [duplicate]

I know you can't take someone else's code and change it from GPL to MIT, but if you are the only contributor to a repository can you freely switch it from GPL to MIT?
2
votes
1answer
63 views

Selecting members to add to a github project [closed]

My team recently added a software project to github. We are getting requests from some of the users that they would like to become part of the team. What would be a good way to choose whom to add ?
0
votes
1answer
49 views

Making folder of a git repository a separate repository while preserving history

I have a generic git repository called Workspace and each project I have that isn't big enough to deserve its own repository is stored as a folder within it. One of my mini-projects is now big enough ...