Skip to content

Instantly share code, notes, and snippets.

#!/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