vcsh
vcsh copied to clipboard
FEATURE: `vcsh commit [$file]` -- Directly commit changes to a tracked file
vcsh commit:
- Find all staged changed changes
- for repo in
list found staged changes in repos; dovcsh run $repo git commit --verbose; done # with some magic to show which vcsh repo you are in
vcsh commit $file
- Check if $file is tracked by one repo only
-
vcsh run $repo git commit $file
Possible ways to seed the commit message:
-
git commit -t-- sadly, this needs a file - prepare-commit-msg hook -- sadly, this means changing the actual repo