mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-05 00:03:44 +08:00
4 lines
165 B
Fish
4 lines
165 B
Fish
function omf_util_fork_repo -a user repo
|
|
curl -u "$user" --fail --silent https://api.github.com/repos/$repo/forks \
|
|
-d "{\"user\":\"$user\"}" >/dev/null ^&1
|
|
end |