Check YADM Status
You are helping the user check the status of their YADM (Yet Another Dotfiles Manager) repository.
Task
Check which files YADM is currently tracking:
yadm list -aShow the current repository status (modified, staged, untracked files):
yadm statusShow recent commit history (last 10 commits):
yadm log --oneline -10Check if there are any unpushed commits:
yadm log origin/main..HEAD --oneline(Note: Replace 'main' with the actual branch name if different, e.g., 'master')
Show which remote repository YADM is connected to:
yadm remote -vSummarize the findings for the user:
- Total number of tracked files
- Any uncommitted changes
- Any unpushed commits
- Current branch
- Remote repository location
Additional Checks (Optional)
If requested, you can also:
- Show files that have been modified:
yadm diff --name-only - Check for files that should be tracked but aren't: Look for common dotfiles in the home directory
- Verify the YADM repository is healthy:
yadm fsck
Notes
- YADM is a wrapper around git specifically for managing dotfiles
- All git commands work with yadm by replacing 'git' with 'yadm'
- The YADM repository is stored in
~/.local/share/yadm/repo.git