Skip to content

Commit

Permalink
fix: force shorter ssh timeout for git
Browse files Browse the repository at this point in the history
ssh git pushes were becoming unbearably long.
  • Loading branch information
water-sucks committed Dec 5, 2023
1 parent 2d0dcdc commit 92c0310
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions home/profiles/dev/git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ in {
pull.rebase = false;
init.defaultBranch = "main";
core.editor = "nvim --cmd 'let g:unception_block_while_host_edits=1'";
core.sshCommand = "ssh -o ConnectTimeout=1 -o ConnectionAttempts=1";
};

aliases = {
Expand Down

0 comments on commit 92c0310

Please sign in to comment.