https://github.com/matrixai/git-common-descendant
Finding common descendants of 2 commits https://matrix.ai
https://github.com/matrixai/git-common-descendant
Last synced: 3 months ago
JSON representation
Finding common descendants of 2 commits https://matrix.ai
- Host: GitHub
- URL: https://github.com/matrixai/git-common-descendant
- Owner: MatrixAI
- License: apache-2.0
- Created: 2020-04-09T09:40:55.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-13T12:53:57.000Z (over 5 years ago)
- Last Synced: 2025-10-06T18:57:15.519Z (3 months ago)
- Language: Nix
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-common-descendants
Given 2 commits, this command will find the earliest common descendant.
## Installation
Building the package:
```sh
nix-build -E '(import ./pkgs.nix).callPackage ./default.nix {}'
```
Building the releases:
```sh
nix-build ./release.nix --attr application
```
Install into Nix user profile:
```sh
nix-env -f ./release.nix --install --attr application
```
## Development
```sh
# development environment
nix-shell
# clean the build
link="$(readlink ./result)" \
&& rm ./result \
&& nix-store --delete "$link"
```