Pages

Friday, 13 March 2020

How to create repository in bitbucket and push code for automation project?


Below are the sequence of commands to use:

  • First go to your bitbucket path and get access to create repository.
  • Create a repository with a self defined name, let name is "Automaters"
  • Then open cmd in the laptop where you have kept your automation project

  • cd existing-project
  • git init
  • git add --all
  • git commit -m "InitialCommit"
  • git remote add origin "https://path....Automaters.git"
  • git push -u origin master


If you get SSL certificate error to push then use below:

No comments:

Post a Comment