Skip to content

Instantly share code, notes, and snippets.

@mmahut
Created May 19, 2019 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmahut/425145d2a3f4eae453dbd0240add0388 to your computer and use it in GitHub Desktop.
Save mmahut/425145d2a3f4eae453dbd0240add0388 to your computer and use it in GitHub Desktop.
[root@nixos2:~/nixpkgs]# nix-review pr https://github.com/NixOS/nixpkgs/pull/61706/
$ git fetch --force https://github.com/NixOS/nixpkgs master:refs/nix-review/0 pull/61706/head:refs/nix-review/1
$ git worktree add /root/.cache/nix-review/pr-61706-2/nixpkgs 589907bd38786420b7eb2628830c3f029614453d
Preparing worktree (detached HEAD 589907bd387)
Checking out files: 100% (18902/18902), done.
HEAD is now at 589907bd387 Merge pull request #60913 from bignaux/z88dk
$ git merge --no-commit f1d3f6bb39c5ef3f431d3971e0f75bb453abec40
fatal: refusing to merge unrelated histories
https://github.com/NixOS/nixpkgs/pull/61706 failed to build
$ git worktree prune
[root@nixos2:~/nixpkgs]# git pull
Already up to date.
[root@nixos2:~/nixpkgs]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment