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.
"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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.