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
1answer
161 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
votes
0answers
13 views

How to find “Git clones traffic” on Github?

I have several projects that I published in my Github account, and for sometime I used to be able to see the clone traffic (graphs > traffic > Git clones). Recently I have noticed that on that page I ...
2
votes
2answers
68 views

How do I manage a major overhaul of an open-source project with git?

I have a somewhat popular open-source project on Github, and I'm getting ready to do a major overhaul - completely different directory structure, substantially different versions of major components, ...
1
vote
1answer
40 views

How do I organize my project to accomodate GIT pull requests for source installed via PIP?

I want to structure my Python project in a manner such that others can use a package manager (PIP) to easily clone the environment for team development, and GIT to contribute to the project, plus a ...
16
votes
4answers
5k views

github team workflow - to fork or not?

We're a small team of web developers currently using subversion but soon we're making a switch to github. I'm looking at different types of github workflows, and we're not sure if the whole forking ...
5
votes
1answer
541 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 ...
1
vote
2answers
96 views

Github Parent commit committed after child commit?

I'm looking at this commit which was committed "26 days ago" and the parent commit which was committed "25 days ago". How can the parent commit be committed one day later than the child commit?
1
vote
1answer
95 views

GitHub with TFS ALM

Is it possible to use TFS Application Lifecycle Management features (ie, user stories, tasks, work items, gated commits, all the good stuff) against a repository stored in GitHub? How would one go ...
0
votes
1answer
62 views

Can I use some GitHub control/Framework with MIT / BSD / Apache Licence to distribute my iOS Enterprise App?

I develop iOS app with some GitHub controls and Framework as like FMDB,AFNetworking,OpenCV,RadioButton,CheckBoX etc... but now my worry is I want to distribute this app with Apple Enterprise account (...
4
votes
1answer
166 views

small team git workflow

I want to ask if the following workflow is correct! It is referring to a small private team. There is a master branch where no one merges there ( except the maintainer ), a development branch and ...
0
votes
0answers
34 views

rebase equivalent - update specific branch?

If I reach the point where I am updating my local master: git checkout master git fetch upstream # I am pulling changes from develop branch into my local master git merge upstream/...
11
votes
3answers
519 views

Licensing on Github

I'm uploading to GitHub for the first time and I am facing all sort of doubts about licensing. I did not know that topic was that uncovered in the net! But even it is complex, my situation is so ...
0
votes
0answers
48 views

Fork a repository that is half usable or create new repository from scratch?

I am new in open source development. I am trying to develop a Laravel package. I went through some of already present packages. And I found a package that can be usable but problem is that only half ...
9
votes
4answers
7k views

Why should large financial/insurance companies use git and/or github

I work for a large enterprise (30K employees) in the financial/insurance industry. While "IT" isn't our main focus, let's be honest, these are information driven industries and the companies with the ...
2
votes
1answer
71 views

Structuring git repository as a 'catch-all'

I have a really old install of Debian on my Thinkpad, and I want to refresh it now that I'm using it again. However, I have a LOT of old scripts all over this install for beauty fixes, shortcuts, and ...
3
votes
2answers
173 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, ...
15
votes
4answers
6k views

How can I organize personal git repositories?

I'm in the process of setting up a GitHub account with the plan of making a pair of libraries I developed as parts of some recent iOS projects freely available for other iOS devs to use. I don't ...
22
votes
4answers
7k 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 ...
2
votes
0answers
86 views

Is it bad practice to commit to github directly without using a git client? [closed]

I'm talking about very small changes such as spelling or meaningless syntax fixes. After committing a new pull request, sometimes automated checks are executed. Which is one reason I'm wondering if it'...
26
votes
5answers
1k views

The trend of the “develop” branch going away

I've noticed something lately looking at some popular projects on GitHub, that there's no develop branch. And in fact, the GitHub Flow guide doesn't mention it either. From my understanding, master ...
11
votes
4answers
686 views

How to “start over” in GitHub?

I plan a complete rewrite of my project, using another framework etc. It would be nice to keep the old code including history for reference. What is the best way to do this, in order to avoid risk, ...
3
votes
1answer
179 views

Etiquette: How to respond to a Open source release Mail? [closed]

So I was lucky to be able to contribute to DateUtil in python(just a small documentation). I recently received a mail regarding the release 2.5.0 . So I was all exited because it was the first time I ...
1
vote
1answer
71 views

Best practices for working with public_html folders and git

Currently, everything that is in the public_html folder automatically gets published live. The git repository is also inited in this folder (though this can change if it's necessary). What is a good ...
27
votes
3answers
42k views

What is a “markdown-formatted” README file on Github?

It's unclear to me what the format is, if there's systematic/command-line requirements for creating it, etc. Basically, just to need to know the specs, and if there's technical steps for generating ...
5
votes
3answers
246 views

In GitHub flow, is it OK to base feature branch on another feature branch?

We use GitHub Flow in our project and most of the time, we open a new feature branch from master, do some work there, open a PR, review the code and merge back into master. However, my current work ...
4
votes
2answers
178 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 ...
106
votes
10answers
45k 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 ...
6
votes
1answer
102 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
69 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
178 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
47 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 ...
2
votes
0answers
164 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 ...
78
votes
8answers
9k 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
99 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 ...
119
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
82 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
114 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 ...
4
votes
0answers
398 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
55 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 ...
5
votes
1answer
2k 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
611 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
105 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
87 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 ...
66
votes
4answers
8k 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
99 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 ...
7
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
165 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 ...
3
votes
2answers
314 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 ...