Revised directions in README

This commit is contained in:
Nathan Schneider
2020-02-26 18:12:38 +00:00
parent 86a59cef09
commit b716c30550
+17 -11
View File
@@ -2,23 +2,29 @@
[https://gitlab.com/ntnsndr/dotfiles/](https://gitlab.com/ntnsndr/dotfiles/) [https://gitlab.com/ntnsndr/dotfiles/](https://gitlab.com/ntnsndr/dotfiles/)
This is a set of tools to facilitate rapid switching among Linux-based operating systems. They should be added to the home directory. Start by executing: This is a set of tools to facilitate rapid switching among Linux-based operating systems.
.scripts/install-arch.sh ## Initial install
or Load the dotfiles into the home directory:
.scripts/install-deb.sh cd ~
git clone https://gitlab.com/ntnsndr/dotfiles.git
mv ~/dotfiles/{.,}* ~/
On local machines, to update from canonical GitLab repo: Then execute the appropriate script. On Arch-based systems:
git pull origin master chmod +x ~/.scripts/install-arch.sh
~/.scripts/install-arch.sh
If there are local changes to overwrite: On Debian-based systems:
chmod +x ~/.scripts/install-deb.sh
~/.scripts/install-deb.sh
## Updating
Do all editing on the GitLab repo, rather than locally, then update changes on local machines. On local machines, to update from canonical GitLab repo:
git fetch --all git fetch --all
git reset --hard origin/master git reset --hard origin/master
To update the canonical repo with local committed changes:
git push origin master