Repository navigation
v1.1.0
clone:pull
- Remotes in
.env: list names inCLONE_REMOTESand setCLONE_{NAME}_HOST,_PATH,_USER,_PORT,_PHP,_IDENTITY_FILE,_SSH_CONFIG,_CONNECTION,_TRANSFER,_SSH_OPTIONS. Works withconfig:cache. - Default remote: the
remoteargument is now optional. It usesCLONE_REMOTE, or the only configured remote. - Uses your
~/.ssh/config: user, port and key are only passed when set, so~/.ssh/configdecides them otherwise. Host aliases work, and so doeshost:/pathwithout a user. - New
--ssh-config=option (ssh -F).--port,--phpand--identitynow also override named remotes.
If you published config/clone.php before this release, see the README for the two lines to add to it so .env remotes are picked up.
Docs
- The README installs from Packagist (
composer require phpawcom/laravel-clone).
This package was written entirely by Claude (Anthropic).