You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
379 B

5 years ago
5 years ago
5 years ago
5 years ago
  1. # Initialization
  2. ```sh
  3. git init --bare $HOME/dotfiles
  4. alias dot="/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME" (add this to .zshenv or .bashrc)
  5. dot config --local status.showUntrackedFiles no
  6. git remote add origin https://gitea.cloudpshere.duckdns.org/marc/dotfiles.git
  7. git remote -v
  8. ```
  9. # Usage
  10. ```sh
  11. dot add /path/to/file
  12. dot commit -m "some message"
  13. dot push
  14. ```