Revised directions in README
This commit is contained in:
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user