Last active
January 24, 2026 22:44
-
-
Save pomartel/9c597f21340ce153e381c51b20a78956 to your computer and use it in GitHub Desktop.
Script that initializes an existing yadm git repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/bash | |
| echo "Installing yadm" | |
| sudo pacman -S --noconfirm yadm | |
| echo "Cloning yadm repository" | |
| yadm clone -f "git@github.com:pomartel/config-files.git" | |
| echo "Force-resetting work-tree (discarding local conflicting files)..." | |
| yadm reset --hard | |
| echo "Creating symlinks for alternate files" | |
| yadm alt | |
| echo "Decrypting secret files" | |
| yadm decrypt | |
| echo "Cloning Install script repository" | |
| git clone git@github.com:pomartel/Installation-Scripts.git ~/Install | |
| echo "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment