#git #home #configuration #manage #variables

app git-home

A dotfiles manager using git

8 releases

0.1.1-alpha.3 Jul 8, 2022
0.1.1-alpha.2 Jul 5, 2022
0.0.7 Jul 5, 2022

#593 in Configuration

GPL-3.0-or-later

31KB
752 lines

Git Home

A dotfiles manager using git.

Abstract

Git Home is a git extention to allow one to easaly manage there configuration files withouth needing to go through any symlinking or generating from third party apps.

Usage:

git home [add <files> | status | init | commit <options> | 
          log | --help | -- <git-sub-command>]

Commands:

  • add: add a file to the git_home repo.
  • status: print staus of files in the index.
  • init: initialize a new home repo.
  • commit: commit current index to repository.
  • log: prints a log of the last commit.
  • --help: prints this help dialog.
  • -- : passes any commands following the double dashes to git. Any command preceding the double dash will be executed first.

For example, to commit your changes and then see a log of your commit history you could run:

git home commit -m "some message" -- status | less

Global Variables:

  • GIT_HOME_DIR: $HOME/.config/git_home (default value)

Dependencies

~12–21MB
~374K SLoC