This file contains 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
#!/bin/bash | |
# Variables | |
DOTFILE_URL=https://github.com/Luis-Henriquez-Perez/dotfiles | |
DOTFILE_DIR=$HOME/.dotfiles | |
# Clone the dotfiles repository as a bare repo | |
git clone --bare $DOTFILE_URL $DOTFILE_DIR | |
# Function to interact with the bare Git repository |