Questions tagged [github]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
48 views

How to run the Unit Test on Master branch using hook before merging the incoming changes of other branches

We have project which have more than 500 unit test and run for hours through Jenkins CI pipeline. In case there is failure of single UNIT test we need to kick off the build job again. I want to run ...
-5
votes
2answers
103 views

How to make my team of developers follow our Git workflow [closed]

We have a team of 6 developers working in multiple technology stack. Most of these developers have little experience 1 - 2 years to be precise. We are very successful on enforcing coding standards ...
1
vote
0answers
35 views

How to setup git repository subfolder mirror?

It is known that Laravel Framework consist of library collection named Illuminate. In which some libraries are mirrored into separate repositories, right under https://github.com/illuminate/ namespace....
1
vote
1answer
160 views

Should I fork in Github if I won't make pull requests?

There's a RFID Reader library for Arduino that I wish to adapt to another reader model. But since the original library not only has the same name of the reader it supports, the reader model name is ...
1
vote
2answers
269 views

Should feature branches always branch from develop?

I'm a Rails developer and I've always had this doubt, let's say I have to develop things for the user's controller and views (branch feature/users-endpoint) and imagine I end up developing several ...
1
vote
1answer
167 views

Request changes to a commit message during code review on GitHub

I am trying to teach good engineering practices to my team, and in particular, walking them through the basics of PRs and code reviews on GitHub. One of my team members has sent me a request to review ...
0
votes
1answer
104 views

Branching strategy with GitHub releases

I am working on the project where currently we have following three fixed branches Develop - The code is deployed to development environment. It's a base branch for anyone who want to add new ...
0
votes
0answers
56 views

Separating Development and Deliverables with Git/Github

I am looking for some advice on the best way to manage my development worflow. I have been using git locally to track development and have recently uploaded a couple of private projects into Github. ...
0
votes
0answers
33 views

Do I need provide translation for an UI library

I have a library for a lockscreen in Android, that includes diferent dilogs for fingerprints, texts and all that stuff. My question is: What the best practice to provide localization. Should I have ...
-3
votes
1answer
121 views

Designing a mentoring system over GitHub

I am developing a system that has a list of projects (verified by mentors) to which a student can provide a solution. Now I am stuck in a situation about how the student will submit their solution for ...
3
votes
1answer
125 views

Git structure for multi platform projects

Currently I use SVN for my project and the structure looks like this: trunk/SharedLibrary/ trunk/platform/wordpress/ <- platform base directory trunk/platform/wordpress/SharedLibrary <- ...
-1
votes
1answer
81 views

Is it possible to disable all pull request merges into a particular branch while a build is running for that branch?

We are using GitHub and CircleCI. I know that pull request mergeability can be made to be dependent on the most recent commit, using status checks. Is there any way to make it depend on whether or not ...
-2
votes
1answer
55 views

Is there a package format for packing source code files, that provide end-users an easy and straight-forward option to compile (& install) the program

For example in addition "Open" action, "Compile & Install" be another available action when user click on package
4
votes
5answers
739 views

Git branches: Merging issues while having multiple release branches

We have to support multiple releases, so we are following git branching model similar to the above diagram. Now the problem is that we have to do lots of merging here example for fix/011, we are ...
3
votes
0answers
60 views

Can/Should I make an automatic installation of new python libraries after a git pull?

Imagine the following situation: I'm working on a python project, and I install the library antigravity with pip. I add the function fly() which uses the library, and I commit and push the changes. ...
8
votes
4answers
390 views

Should detected vulnerabilities in old commits be remedied?

One of my projects on GitHub has received a vulnerability alert, in this case of moderate severity. The vulnerability has been detected in a dependency of an old version of the code. Current versions ...
1
vote
3answers
370 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 ...
3
votes
3answers
482 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
83 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
978 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
100 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
60 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
136 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
188 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
113 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
123 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
168 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
276 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
114 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
691 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 ...
2
votes
4answers
969 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
364 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
328 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 ...
3
votes
1answer
2k 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 ...
1
vote
1answer
939 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
1k 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
185 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
304 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
83 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 ...
4
votes
0answers
498 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
177 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
623 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
251 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
561 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
6k 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
153 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 ...
3
votes
0answers
111 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
202 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
104 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
232 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 ...