docs: add version control notes
This commit is contained in:
parent
d72bc6a3a3
commit
89724f1866
2 changed files with 5 additions and 1 deletions
|
|
@ -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/
|
||||||
|
|
|
||||||
|
|
@ -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'";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue