Questions tagged [git]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
17 votes
3 answers
3k views

How do you work with open core code efficiently in Git?

MPL 2.0 license allows for using open source code in part of a 'larger work' (the closed source), where the 'larger work' is contained in separate files. What is an efficient way to maintain an open ...
user avatar
7 votes
1 answer
2k views

What should I do with the copyright details in a codebase when modifying it when it wasn't forked?

So essentially, I once downloaded some script off github, forgot about it, then thought "Why not modify it!" and thus now decided to push it to my github account... Question is though, do i ...
user avatar
0 votes
1 answer
104 views

GPL: How to "inherit" license from another project?

I'm writing a tool that heavily utilizes Git (without linking against parts of it, or using any of its source files in the code) through the cli interface. I would still like to license it under the ...
user avatar
2 votes
1 answer
53 views

Am I allowed to squash commits in repository with Apache 2.0 license?

The repository of an open-source Apache 2.0 licensed project I'm forking is huge and has a giant commit history, so, for the sake of saving space, I want to just to squash all commits, preserving all ...
user avatar
  • 123
4 votes
1 answer
327 views

Using different licenses for different branches of the same repository

I have a Git repository with a medium-sized project on GitHub. Since there are some components depending on GPL libraries, the repository is currently also licensed under the GPL. However, the GPL-...
user avatar
1 vote
1 answer
111 views

Can git binaries be distributed and called by a commercial app without providing source code?

git portable binaries are distributed (included in the installer) with a windows commercial app. the app calls the binaries (init, add, commit, push) as command line then handles the output. does ...
user avatar
  • 21
2 votes
1 answer
662 views

How to say thanks in a Git repository

How to make a list of people and companies that I want to thank for somehow taking part in the creation of a repo? A paragraph in README.md? What's the header then? A special file? How to name it? I ...
user avatar
  • 23
3 votes
1 answer
1k views

Is "Signed-off-by" really needed for a GitHub hosted project?

Suppose my GitHub project requires DCO. In case of DCO, for a "proof" of origin it's usually enough to add a commit message that includes Signed-off-by line. But in case of GitHub it's very ...
user avatar
4 votes
1 answer
72 views

Need feature in PR with failing checks

An open source software I am using has a pull request for a feature that I need, but it has never been merged due to failing checks. Instead of implementing the feature myself, is there any way that ...
user avatar
-2 votes
1 answer
69 views

Join as project member on invent kde

I want to contribute some code and design on this app: https://invent.kde.org/kde/kdeconnect-android/ But I can't push my code on this repository: https://invent.kde.org/frdana/kdeconnect-android.git ...
user avatar
1 vote
0 answers
66 views

How to initiate a more simple deb package management workflow in the opensource community? [closed]

Most debian-based Linux distributions are using a quite complex package development workflow. In my experience, it is at least so complex than all the commonly used technologies today for professional ...
user avatar
  • 916
8 votes
3 answers
702 views

License violation within git history

What are the consequences of pushing a git repository that has an open-source license violation in its history, but not the current head? Consider this scenario: I have a git repository with some ...
user avatar
  • 83
7 votes
1 answer
481 views

Is a git repository enough to show changes to the code for GNU-GPLv3?

I want to create a fork of an opensource project. I'm planning to make significant changes to it and I will keep these changes on a git(hub) repository that is available to anyone. As such changes ...
user avatar
6 votes
2 answers
141 views

How to track upstream using Git when forking a project?

There is an open source project that I'd like to fork for various reasons. The upstream project uses SVN for source code management, but they maintain a read-only Git mirror on GitHub. I want to take ...
user avatar
  • 267
5 votes
1 answer
287 views

Licensing of Git(Hub) history

Let's say a Git repository initially has either no license, or an extremely restrictive one, and then a more permissive license (such as the MIT License) is added in a later commit. Does this new ...
user avatar
4 votes
1 answer
1k views

Why GitHub is not opensource when it's use Git that has GPLv2 license?

I have this question after what happened when Microsoft bought GitHub. But GitHub core is not git? I know that when you use a GPLv2 in your program you must have to give your program the same license. ...
user avatar
  • 455
5 votes
3 answers
199 views

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

I'm working on a free project on 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 ...
user avatar
  • 161
6 votes
3 answers
437 views

How to deal with copy-left in source-code history prior open-sourcing?

Given the following situation: A software project is released as open-source under a non-invasive license (e.g., BSD 2/3 clause, Apache 2, ...). During the process, the entire Git repository is made ...
user avatar
  • 61
-1 votes
1 answer
68 views

What is the license of the documentation at "https://git-scm.org/docs" [closed]

I would like to reuse some descriptions from https://git-scm.com/docs/ in my own Git instructions manual. This manual will be used commercially. I have found a license for the "Pro Git" book CC-By-NC-...
user avatar
  • 277