#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

#415 in Configuration

Download history 2/week @ 2024-02-22 1/week @ 2024-02-29 1/week @ 2024-03-07 1/week @ 2024-03-14 38/week @ 2024-03-28 28/week @ 2024-04-04

66 downloads per month

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

~14–23MB
~397K SLoC