Manually Update YADM
You are helping the user manually update their YADM (Yet Another Dotfiles Manager) repository.
Task
First, check the current status of the YADM repository:
yadm statusShow the user what files have been modified:
yadm diffAsk the user which files they want to add to the commit. If they want to add all changes, use:
yadm add -uOr for specific files:
yadm add <file1> <file2> ...Show the staged changes:
yadm statusAsk the user for a commit message, then create the commit:
yadm commit -m "user's commit message"Push the changes to the remote repository:
yadm pushConfirm the update was successful and show the final status.
Notes
- YADM works exactly like git but is specifically for dotfiles
- Be careful not to commit sensitive information like API keys or passwords
- If the user has a pre-commit hook or other git hooks configured, they will run automatically
- If there are conflicts or issues, guide the user through resolving them