Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Movement of code base from VSCode to BitBucket repos

HANAMANT KULKARNI February 7, 2024

Hi Team,

We are trying to put our code base from VSCode to BitBucket repos.
We explored, we installed plugins in VSCode. We tried Cloning but it seems Commit is running since yesterday and internet is working.

Pls. let us know steps to put our code from VSCode to Bitbucket repository using Command Line like git bash.
Your pointers or references will help.

1 answer

1 vote
Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 7, 2024

Hi @HANAMANT KULKARNI

"Commit is running since yesterday". A commit is something that happens on your local PC. It's only after committing that you push to the remote repo.
So if committing is not working something must be wrong with the PC configuration.

Have you tried this without plugin and with Git Bash already?

First of all you need to make sure you local directory with your code is a Git repo, then you "stage" everything for commit and you commit.

git init
git add --all
git commit -m "Initial Commit"

Now you can push this to Bitbucket (or any other Git provider). Copy the GIT URL from the repository you created in Bitbucket Cloud. (the clone link)

git remote add origin <Bitbucket Cloud Repo URL> 
git push -u origin <branch name>

 Do you get errors?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events