docs: add version control notes

This commit is contained in:
Jacob Bachmann 2023-08-30 20:11:34 +02:00
parent d72bc6a3a3
commit 89724f1866
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
2 changed files with 5 additions and 1 deletions

View file

@ -2,6 +2,10 @@
:warning: WIP :warning: WIP
## Version Control
- `sudo -E` (forward environment) on commit
- ``eval `ssh-agent`` (provides SSH_AUTH_SOCK) before push
## References ## References
- https://nixos-and-flakes.thiscute.world/ - https://nixos-and-flakes.thiscute.world/

View file

@ -12,5 +12,5 @@
gp = "git push"; gp = "git push";
ta = "tmux attach"; ta = "tmux attach";
ngc = "sudo nix-collect-garbage -d"; ngc = "sudo nix-collect-garbage -d";
nec = "sudo nvim -u $HOME/.config/nvim/init.lua --cmd 'cd /etc/nixos'"; nec = "sudo -E nvim -u $HOME/.config/nvim/init.lua --cmd 'cd /etc/nixos'";
} }