Skip to content

Commit 13c3a92

Browse files
committed
feat: redirect git push from https://github.com to ssh://git@github.com
1 parent ea6b246 commit 13c3a92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

git.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@
7878
user = "aiotter";
7979
};
8080
credential."https://github.com".helper = "${pkgs.gh}/bin/gh auth git-credential";
81+
url."git@github.com".pushInsteadOf = [
82+
"git://github.com/"
83+
"https://github.com/"
84+
];
8185
};
8286
};
8387

0 commit comments

Comments
 (0)