Skip to content

jackm245/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Jack Morgan's Dotfiles

Table of Contents

Description

Programs

How these dotfiles are maintained

To maintain these dotfiles I created a bare git repository following Atlassian's Tutorial

  1. Create a .config file - which is a bare Git repository - that will track the dotfiles.
git init --bare $HOME/.cfg
  1. Create config alias that is used to specifically interact with the dotfiles repository.
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
  1. Set a flag to hide the files we are not explicitly tracking
config config --local status.showUntrackedFiles no
  1. Add the alias definition to your .bashrc or use this line provided for convenience.
echo "alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.bashrc

These dotfiles can then my updated using git, but by using the config command

config status
config add .vimrc
config commit -m "Add vimrc"
config add .bashrc
config commit -m "Add bashrc"
config push

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

Jack Morgan's Artix Linux Dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published