|
@ -1,11 +1,15 @@ |
|
|
# Initialization |
|
|
# Initialization |
|
|
|
|
|
```sh |
|
|
git init --bare $HOME/dotfiles |
|
|
git init --bare $HOME/dotfiles |
|
|
alias dot="/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME" (add this to .zshenv or .bashrc) |
|
|
alias dot="/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME" (add this to .zshenv or .bashrc) |
|
|
dot config --local status.showUntrackedFiles no |
|
|
dot config --local status.showUntrackedFiles no |
|
|
git remote add origin https://gitea.cloudpshere.duckdns.org/marc/dotfiles.git |
|
|
git remote add origin https://gitea.cloudpshere.duckdns.org/marc/dotfiles.git |
|
|
git remote -v |
|
|
git remote -v |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
# Usage |
|
|
# Usage |
|
|
|
|
|
```sh |
|
|
dot add /path/to/file |
|
|
dot add /path/to/file |
|
|
dot commit -m "some message" |
|
|
dot commit -m "some message" |
|
|
dot push |
|
|
dot push |
|
|
|
|
|
``` |