Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [github]

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

-3
votes
1answer
54 views

Finding a successful fork of a dead Github project [on hold]

It happens more often than you would expect that a kind-of successful open source project (hosted on Github) dies. I mean - the code is still available, but any activity phases out. The original ...
1
vote
3answers
95 views

Waiting on Multiple GitHub PR Merges

Scenario: I fork a project and submit a PR on Feature A, and then another on Feature B. I want to continue working with both features while I'm waiting for the PRs to be merged (theoretically they ...
2
votes
3answers
113 views

Effective Project Management spanning multiple repos in Github

We've got a system called Foo hosted as a repository in Github. The system depends on a couple more microservices, called Bar and Baz. Each of these microservices is hosted as a separate repository. ...
-1
votes
1answer
33 views

how to merge or update a template repository?

I have a template repository consisting of a folder structure, scripts, makefiles, example files (text templates) etc. The easiest way would be to clone the repo, delete the .git folder and create a ...
3
votes
3answers
379 views

How to avoid pushing Github Enterprise code to my personal Github account by mistake if both are configured in my work computer?

Setting the debatability of using personal accounts on the workplace aside. Context: The company I work for is dedicated to creating apps for other companies. Because of this we have many different ...
2
votes
1answer
96 views

How to reduce the chances of getting merge conflicts occurring in two projects of same cloned codebase

I have two applications A and B. Application A was written before application B, actually B was initially the same fork of A thus, each of the application had the same modules and same code in it. ...
-1
votes
1answer
59 views

Check files after git push, or; best practices for github after push tests

Sometimes our developers push -simple to find- mistakes to our repos, like a missing ";" a "console.log" that is not suppose to be in the main branch, or an invalid json file. With Github you can add ...
-3
votes
1answer
126 views

Should I directly use pre-built codes on Github? [closed]

I need to know if is it correct to use pre-built codes on Github, or try to build it my self, while even I tried to build it I think it won't be as proffissional as that one on Github... the point is ...
1
vote
1answer
176 views

How do I manage a development journal?

I am working solo on small development projects on my own time, using Git. For each project, I like to have a development journal which is associated with that project and not associated with other ...
0
votes
1answer
91 views

Github project card to branch creation to PR acceptance to done column

How can I achieve a workflow in GitHub such that when you create a card in todo column of a project, a branch will be created which you can start working on? When you PR the branch and merge, it will ...
-1
votes
1answer
57 views

How, in eclipse do I work with an existing maven project in GitHub without ending up checking my .project file?

I have a maven project in GitHub that I wish to work with using eclipse. I want to keep the GitHub repository clear of any eclipse project artifacts such as the .project file. Is there a way to do ...
1
vote
1answer
93 views

Can features deployed with GitHub Flow disappear from production?

I'm trying to get a better understanding of Git workflows and read this blog post. What happens after a merge to master if another feature is waiting to deploy? The deployment from master is delayed ...
0
votes
2answers
264 views

My Project is a Combination of Github Projects. Should I upload this onto Github?

I cannot go into the specific details of my project since it is in a very nascent research stage. However, there is a fair bit of information that I can disclose. My project architecture consists of ...
2
votes
2answers
72 views

Definition of a feature in GithubFlow model?

I have been using git for a while now primarily on CLi. I am the only person working on this project so far. I just have 1 master branch and 1 production branch. The production branch is named such ...
6
votes
1answer
421 views

Once I did a PR on a repo, should I delete my fork?

I'm working on a free proyect over Github. I fork it, made some changes, did a PR and everything worked ok (PR was accepted). Then I update my fork with upstream, did some other changes, and made ...
1
vote
4answers
254 views

How do we avoid development files in the release?

Situation: Our Python project is hosted at GitHub. The actual release should only contain handful of files, but or project also contains several non-release files that are required for testing and ...
11
votes
3answers
353 views

How do I start using Git for differing code bases from different servers?

Background: I've recently inherited a set of projects at my company and I'm trying to sort out some fundamental issues with how they've been handled. Namely, the previous developers (who are no longer ...
3
votes
2answers
250 views

Are you supposed to fork a repo if you're porting it to another language?

I'm new to forking and open source and I'm porting a Rust library into Swift but I wasn't sure if I needed to fork the original repo and then replace it with my new files or just upload my own repo ...
1
vote
1answer
948 views

Organizing multiple projects on GitHub

I am a freelance developer. I have multiple clients, each client has multiple projects, and each project has multiple distinct pieces of software. I recently migrated all my source control from my old ...
0
votes
0answers
68 views

What danger is there in publishing an open source project on GitHub without including a license [duplicate]

If I publish a repo on GitHub that is public (and therefore "open source" because anyone can see and use that code), but I do not include any license at all, what does that imply legally? Is there any ...
1
vote
1answer
256 views

How much am I allowed to use someone's else code as my fork?

If I fork someone's else repository (say, under my brand), for instance when I need the code for another, my own bigger project consisting of a number of such repositories, would it be preferred to ...
-1
votes
1answer
375 views

In GitHub Flow, why is it important to deploy after push to master?

Reading about GitHub Flow, I saw that one of the main suggestions after merging to master is that we should immediately deploy, but I don't completely understand the reason for that. Isn't it possible ...
-4
votes
2answers
167 views

How can I control my versioning (perhaps with GIT), such that when I update a function (such as add an argument) it won't break the rest of the code?

I'm just working on a set of MATLAB files right now that I'm using for my thesis. I want to be better organized and figure out the best way to keep track of changes. I have read that GIT is a good ...
2
votes
2answers
155 views

Creating an alternative spin-off repo, being able to fetch updates from main repo (aka forking your own repo)

Since I'm better with visual representations, I basically want to get this done: I did some searching and could only find this Git: Branch or Fork? And this one A decent git branching model for ...
4
votes
1answer
77 views

Linking a Github repo based on a single module (file) taken from another massive Github repo

I found a module (single file) contained within a large project (100s of files) on github that was of use to me. Licence is MIT. I created some PRs but the author didn't seem to have the time to ...
3
votes
0answers
197 views

Forking Github repo (MIT): what references to original author should remain intact? [closed]

I'll pick one of the most popular react boilerplates as an example here. Assume, i've forked it (commits history till fork date remains intact). According to the text of MIT license, the only thing ...
-3
votes
1answer
151 views

Why do many “popular” C++ libraries have a small number of stars on Github? [closed]

For example a CSV parsing library looks to be the most popular CSV parsing library, yet it only has 301 stars. C++ is one of the most popular languages yet C++ libraries on github do not look to be ...
3
votes
1answer
393 views

When do I update the Git repo package.json/version release?

I am starting to get into versions/releases more now with Git and wanted to know if the structure I am doing now is correct. Right now, there is typically a few feature branches. A few commits from ...
3
votes
2answers
248 views

What is the protocol to follow if I wish to make significant changes to software in someone else's public github repository?

For example, I find myself using software X. Software X has a github repository. I find that I can make a lot of serious refactoring changes that are not small, and reconfigure the entire repository ...
22
votes
1answer
464 views

What is best practice for handling PRs addressing security vulnerabilities in public repo?

How should an open source project with a public repository best handle pull requests (PRs) that address securely reported but not yet publicly disclosed security vulnerabilities? I'm involved in an ...
0
votes
1answer
3k views

Create a pull request to a tag

If there is tag 1.1 for master branch in github, I want to create a pull request with some commits that only apply to that very tag. Is this possible?
4
votes
1answer
150 views

GitHub - Should I unassign an issue once closed?

Whenever I am using issue tracking on GitHub with my team, should we unassign people from the issue once we close it? I don't know which way should be done, and if there is any advantage to ...
2
votes
0answers
89 views

How to consolidate multiple GitHub repos with dependencies?

I have joined a GitHub project which has many different repositories under one user name. My task is to consolidate these repositories into more logical groupings. Some repositories have dependencies ...
0
votes
1answer
133 views

How to robustly identify obsolete Git branches

We use Github and Smartgit. We are often finding we have lots of "old" branches that clutter up our repos and cause confusion among our Dev team, I can use: git branch --merged for a lot of this. So ...
-2
votes
1answer
101 views

Can I copy a project from CodePlex to GitHub [closed]

Edit : moved the question to Open Source SE : https://opensource.stackexchange.com/questions/5669/can-i-copy-a-project-from-codeplex-to-github Asking about personal ethics from a personal perspective,...
0
votes
2answers
210 views

Should I contribute to a (kind of) abandoned project, or continue my own? [closed]

I'm not sure if this is the right site to ask this question. This question is not a duplicate of this one. So a few months ago I discovered project X on Github. Some info on project X: X has a lot ...
1
vote
2answers
8k views

What is the ideal response size to consider when designing API objects and sub-objects

We are working with a performance metric that all API requests should respond within 50ms when running locally. I am taking this from the average response time of Githubs API. I have an object called ...
1
vote
2answers
283 views

Releasing Python GUI app on GitHub: still use setup.py?

First Software Engineering question, so I hope I'm on topic. I'm an academic scientist working on on Python GUI applications for educational (and eventually research) use. The GUI uses PyQt and ...
-2
votes
2answers
2k views

Why popular repositories use release version as a “Release title” in GitHub?

What is the reason to use release version as a release title on GitHub? It looks like this And it looks like a common practise. Almost all popular repositories use it. What is the use case to ...
40
votes
5answers
9k views

Understanding the difference of branch between SVN and Git

I am a user of SVN and now I am learning Git. In SVN I usually checkout on my local machine a repo, which includes all branches in my project and I used to select the folder for my branch I am ...
0
votes
1answer
786 views

GitHub pull request without forking

Is it possible to submit a pull request if I originally cloned a repo locally rather than using the GitHub "fork" functionality?? The scenario is that I have created a local clone of a repository and ...
2
votes
2answers
102 views

is there a way to know the type of web based version control application from a git url?

Background I'm researching the ability to add some services on top of git web hosts (ie github, gitlab, bitbucket etc, I'm not even sure what they're called, I borrowed that term from the github wiki)...
0
votes
1answer
70 views

Team collaboration with limited access to the entire project?

We have a following scenario where a team A develops a large Visual Studion asp.net MVC project and uses github as a version control tool. In case team A needs an outside help completing a part of ...
4
votes
1answer
197 views

Git structure on production server

So I want to add our git repo to the server so that we can pull in the latest changes from the master branch and easily update the live sites via SSH. I don't want changes tracked by Git on the live ...
7
votes
1answer
290 views

Github - what is the best practice when working on open source project issues

I have solved an issue on an open project, on a dedictated fork I've made. After that, I've committed, pushed and merged (pull request) into the main master repo. Now I wish to work on another issue. ...
4
votes
1answer
82 views

Is it possible to provide a separate license for the asset folder of a Github Page project?

I will host a blog using Github Pages, is it possible to add a secondary license in the assets folder so if people fork the project they would have to provide their own assets and not use the defaults ...
2
votes
2answers
649 views

How to work on git local branch, using pull to update but without push

I am working on a local copy of a large project on github. Most of the changes I make are modifications to tailor the application for a speific use case, as such they are not going to be accepted by ...
1
vote
1answer
318 views

Git - how to have mixed permissions for merging a pull request into a protected branch?

I know that, on github, you can define a protected branch and allow only certain users to merge a pull request there. Say, for instance, that users A, B, C and D are developers and A is team leader ...
58
votes
3answers
9k views

If GitHub interacts with Git, and Git is licensed under GPLv2, shouldn't GitHub be open source?

Since Git is licensed under GPLv2, and, to my understanding, GitHub interacts with Git, shouldn't the whole GitHub codebase be open-sourced in a GPL-compatible license?
4
votes
2answers
226 views

Proper Etiquette for Porting a Github Project to a new Technology

I am working at translating a github repo, which I do not own, from Python to Java. The logic will remain the same, which is significant, as this is a Neural Network application, but I need to be ...