--- tags: 前端工具 --- 【筆記】批次clone git repo: Bash === https://ithelp.ithome.com.tw/articles/10226936 ``` #!/bin/bash for gitUrl in project5.git do echo "$gitUrl" git clone "git@bitbucket.org:conie29445/$gitUrl" done ``` ``` #!/bin/bash for git_repo_name in git_repo_name1 git_repo_name2 git_repo_name3 do echo "target: $git_repo_name" rm -rf "$git_repo_name" git clone "ssh://git@bitbucket.aaa.ccc/xxx/$git_repo_name.git" done ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up