You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2021/08/17 21:10:31 UTC

[GitHub] [cordova-plugin-file-transfer] breautek commented on issue #308: How to install latest master version branch

breautek commented on issue #308:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/308#issuecomment-900632581


   It's not really recommended for production use as these changes haven't been voted on for release, but you can install using a git clone url. NPM will clone the repository as a NPM module.
   
   e.g: `cordova plugin add https://github.com/apache/cordova-plugin-file-transfer.git`
   
   If you have the plugin already installed, you'll need to first remove it by doing `cordova plugin remove cordova-plugin-file-transfer`.
   
   Lastly, if you ARE going to use it in a production setting... then I'd recommend at least pinning the version to a specific commit. The latest [commit](https://github.com/apache/cordova-plugin-file-transfer/commit/2cdb0403a81821e144998c8d9a00d338d6ece3ee) at the of writing is `2cdb0403a81821e144998c8d9a00d338d6ece3ee` so you can use git # for commit/branch/tag identifier to install at that specific commit.
   
   e.g.: `cordova plugin add https://github.com/apache/cordova-plugin-file-transfer.git#2cdb0403a81821e144998c8d9a00d338d6ece3ee`
   
   Cheers!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org