@ryan.murray
To add an entire folder to a Bitbucket repository, follow these steps:
- Go to the directory where the folder you want to add is located on your local machine.
- Initialize a new Git repository in this directory by running the command git init.
- Add all files and folders in the directory to the staging area by running the command git add ..
- Commit the changes by running the command git commit -m "Initial commit".
- Create a new repository on Bitbucket or navigate to an existing repository where you want to add the folder.
- Copy the repository URL provided by Bitbucket for cloning the repository.
- Add the Bitbucket repository as a remote by running the command git remote add origin [repository URL].
- Push the changes to the Bitbucket repository by running the command git push -u origin master.
After following these steps, the entire folder and its contents will be added to the Bitbucket repository.