Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I want to upload my code in newly created repository on bit bucket. Please provide the steps ?

Ruchi Desai
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 13, 2019

I want to upload my code in newly created repository on bit bucket. Please provide the steps ?

1 answer

0 votes
DPKJ
Community Champion
August 13, 2019

Here you go,

  • Install GIT (version control) on your local system
  • Follow following commands
$ cd project_dir # move to your project directory
$ git init # intialize new git repository
$ git add . # add all files to git
$ git commit -m "First commit" # commit your code
$ git remote add origin <bitbucket_repo_URL> # set bitbucket as your remote
$ git push -u origin --all # push code to repository

 

This link will help you learn more, also you need to have some knowledge of GIT.

https://confluence.atlassian.com/bitbucket/repository-setup-877174034.html 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events