Snag public git repos from the internet and upload them to your private bitbucket server


Logging out

bundle exec bitbucket_snagger logout

Creating and uploading bitbucket

  • --projectKey is the 3 letter projectKey, eg pup
  • --repositorySlug is the repository to upload to within the project, eg apache
  • --upstream is the upstream repository to merge changes from
  • --verbosity sets debug mode (optional)
  • snag is the command to run (always snag to update)
bundle exec bitbucket_snagger \
  --projectKey pup \
  --repositorySlug apache \
  --upstream \
  --verbosity debug \


  • Attempting to access insecure http repositories will work but will output a warning message