You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fisher/test/helpers/fisher_mock_repos.fish

10 lines
291 B
Fish

function fisher_mock_repos
for name in $argv
git -C $name init --quiet
git -C $name config user.email "git@fisherman"
git -C $name config user.name "fisherman"
git -C $name add -A > /dev/null
git -C $name commit -m "$name" > /dev/null
end
end