fixed some commands related to yadm
This commit is contained in:
parent
7a2dae8805
commit
ea855cf305
14
README.org
14
README.org
@ -223,14 +223,20 @@
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
- From [[https://github.com/phundrak/dotfiles][Github]]:
|
- From [[https://github.com/phundrak/dotfiles][Github]]:
|
||||||
#+BEGIN_SRC sh :dir ~ :exports code
|
#+BEGIN_SRC sh :dir ~ :exports code
|
||||||
yadm clone https://gitlab.com/phundrak/dotfiles.git
|
yadm clone https://github.com/phundrak/dotfiles.git
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
To decrypt the encrypted files, run the following command:
|
||||||
|
#+BEGIN_SRC sh :dir ~ :exports code
|
||||||
|
yadm decrypt
|
||||||
|
#+END_SRC
|
||||||
|
It will ask the passphrase.
|
||||||
|
|
||||||
*** Update the remotes
|
*** Update the remotes
|
||||||
Now, let’s make sure we have the correct remotes set up for the dotfiles.
|
Now, let’s make sure we have the correct remotes set up for the dotfiles.
|
||||||
#+BEGIN_SRC fish :exports code :dir ~/dotfiles
|
#+BEGIN_SRC sh :exports code :dir ~/dotfiles
|
||||||
yadm remote set-url origin "https://labs.phundrak.fr/phundrak/dotfiles.git"
|
yadm remote set-url origin https://labs.phundrak.fr/phundrak/dotfiles.git
|
||||||
yadm remote add-url github "https://github.com/phundrak/dotfiles.git"
|
yadm remote add github https://github.com/phundrak/dotfiles.git
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
You can swap the two links if you feel more comfortable with Github as the
|
You can swap the two links if you feel more comfortable with Github as the
|
||||||
=origin= remote, just rename the =github= remote to something like
|
=origin= remote, just rename the =github= remote to something like
|
||||||
|
Loading…
Reference in New Issue
Block a user