dotfiles-git

Manage dotfiles in a bare Git repository with HOME as the work tree.

80|1|Updated Nov 27, 2022
One-click install
npx skills add https://github.com/leonasdev/.dotfiles --skill dotfiles-git
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotfiles-git
Source: https://github.com/leonasdev/.dotfiles/tree/main/.claude/skills/dotfiles-git
Command: npx skills add https://github.com/leonasdev/.dotfiles --skill dotfiles-git

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Versioning and coordinating dotfiles that live in a bare Git repository with HOME as the work tree is error-prone with plain Git; this guide provides a dedicated workflow to manage those files using a specialized dotfiles path and alias.

Core Features & Use Cases

  • Provides a dedicated alias to operate on a bare repository located at ~/personal/.dotfiles, using HOME as the work tree.
  • Enables using the same Git commands (subcommands, flags) against tracked dotfiles by substituting git with git dotfiles.
  • Clarifies when not to apply this workflow, ensuring regular projects with their own .git/ repositories remain unaffected.

Quick Start

Run the dotfiles alias for all operations on tracked HOME files instead of plain git.

Frequently Asked Questions about dotfiles-git

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage dotfiles in a bare Git repository with HOME as the work tree?

Managing dotfiles in a bare Git repository requires a dedicated alias routing commands to a bare repo at ~/personal/.dotfiles using HOME as the work tree. You substitute plain git with the git dotfiles alias to operate on tracked configuration files.

What is the git dotfiles workflow for versioning home configuration files?

The git dotfiles workflow versions home configuration files by using a bare repository located at ~/personal/.dotfiles with HOME as the work tree. It enables standard Git subcommands and flags against tracked dotfiles by substituting git with git dotfiles.

Can I use standard Git subcommands and flags to modify tracked dotfiles under HOME?

Yes, you can use standard Git subcommands and flags to modify tracked dotfiles under HOME by substituting plain git with the git dotfiles alias. This routes commands to the bare repository at ~/personal/.dotfiles using HOME as the work tree.

Does the dotfiles bare repo workflow affect regular projects with their own .git directories?

No, the dotfiles bare repo workflow does not affect regular projects with their own .git directories. The workflow clarifies when not to apply the alias, ensuring standard project repositories remain completely unaffected by dotfiles tracking operations.

What prerequisites do I need to set up a bare repository for dotfiles management?

Setting up a bare repository for dotfiles management requires a bare repo at ~/personal/.dotfiles, a configured --git-dir and --work-tree pointing to HOME, and the git dotfiles alias to route commands. These components establish the bare repo dotfiles workflow.