terminal:tools:git
Table of Contents
Git
Workflow
A useful pattern for tilde work: keep a local git repo that mirrors your tilde home directory plus server configs. Author changes locally, then push to tilde via rsync and to a git remote for backup.
Aliases
alias gs='git status' alias ga='git add' alias gc='git commit' alias gp='git push' alias gl='git log --oneline' alias gd='git diff'
Sync to tilde.town
rsync -avz ./dir/ tilde.town:~/ # Runs: rsync -avz <excludes> . tilde.town:~
Excludes: .ssh, mbox, .DS_Store, node_modules, _site, .git
See Also
terminal/tools/git.txt · Last modified: by 127.0.0.1
