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

All Time Popular Posts

Most Featured Post

Remove All Occurrences of a Given Character using Two Pointer Approach

  - 𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄 𝗤&𝗔 𝗣𝗮𝗰𝗸𝗮𝗴𝗲 𝗳𝗼𝗿 𝗧𝗲𝘀𝘁 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻 & 𝗦𝗗𝗘𝗧: https://topmate.io/sidharth_shukla/6053...