Search code examples
bitbucketatlassian-sourcetreebitbucket-apibitbucket-server

SourceTree / BitBucket: Need Script to Add Many Versions of Project


I have a VBA project that has been religiously backed up daily for 12 months by exporting all modules to an otherwise empty folder; folder name corresponds to the backup date.

Recently I discovered SourceTree and BitBucket, so now I want to add all my backups to SourceTree (and probably BitBucket) to make it easier to see how the project has changed.

I need help to do this, basically I have a folder called backups and in that folder are ~360 folders that are named like: 2015-12-23, 2015-12-22, ..., 2015-01-01

Basically I'm stuck on how to get started with automating the addition of each set of files - figuring on using a script. I can stage the files - just not sure how to load / upload / commit.

TIA


Solution

  • So... going forward I'll be using RubberDuckVBA for this.