Yes you can shove a whole new project into an existing Bitbucket repository without breaking anything or triggering a production meltdown. This short tutorial walks you through cloning the repo with Git creating the folder adding files and pushing a branch so reviewers can do their thing with a pull request. If the command line is not your spirit animal there is also a web UI option.
Start by cloning so you are working on a local copy of the source tree. Use your real repository URL in place of the placeholder.
git clone REPO_URL
cd repo-name
Inside the cloned repo make a directory for the new project. Add your source files configs and any build scripts that belong there. Keep things tidy so future you does not curse present you.
mkdir new-project
# add files into new-project using your editor or copy commands
If your team uses a branch based workflow create a feature branch first to avoid touching mainline. Commit with a clear message that explains what you added and why. Ambiguous messages cause grief and bad PR titles.
git checkout -b feature/add-new-project
git add new-project
git commit -m "Add new project folder new-project"
git push origin feature/add-new-project
Open a pull request for review. Assign reviewers add a helpful description and link any issue numbers. A good PR makes code review less like a haunted house tour.
If you hate terminals or the change is tiny you can upload files directly in the Bitbucket web interface. That works for a few files but becomes a misery for many files or binary assets. Use the web UI for small edits and the command line for anything substantial.
Clone the repo create the folder add files stage commit and push then open a pull request for review. Or use the web UI for tiny uploads. Follow the branch rules your team prefers and add a clear PR description so reviewers do not need a Ouija board to understand the change.
Now go add that project and try not to break anything important. If you do at least leave a good commit message.
I know how you can get Azure Certified, Google Cloud Certified and AWS Certified. It's a cool certification exam simulator site called certificationexams.pro. Check it out, and tell them Cameron sent ya!
This is a dedicated watch page for a single video.