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.

11 lines
359 B

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