0% found this document useful (0 votes)
430 views3 pages

BITBUCKET Commands

This document provides instructions for cloning a Bitbucket repository, making changes to files in a new branch, committing those changes, and creating a pull request. It outlines 9 Git commands to clone the repository, check and add file changes, commit with a message, and push the branch. It also describes how to create a pull request on the Bitbucket website by selecting the source and destination branches.

Uploaded by

Tanzeela Shakeel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
430 views3 pages

BITBUCKET Commands

This document provides instructions for cloning a Bitbucket repository, making changes to files in a new branch, committing those changes, and creating a pull request. It outlines 9 Git commands to clone the repository, check and add file changes, commit with a message, and push the branch. It also describes how to create a pull request on the Bitbucket website by selecting the source and destination branches.

Uploaded by

Tanzeela Shakeel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

BITBUCKET Commands

Install git bash from


https://git-scm.com/downloads

Open the bitbucket website and click on clone the repository


Copy the clone address

Right click on desktop or any folder and select the “Open the git bash here”

Paste the following commands in terminal


1. git clone https://[email protected]/csi-web-dev/iiot-firmware.git

2. git status
(If you are in master branch , create new branch using checkout command)
3. git checkout -b branch_name
Go to creating branch by
4. git branch
Do your activities here like folder and files copy and paste

5. git add.
(it add all changes in ur branch)
6. git status

7. git config --global user.email "[email protected]"

8. git commit -m "message here"

9. git push origin branch_name

Pull Request
● Goto the bitbucket website and click on pull request
● click on branch name or source and destination
● select the person
● create

Screen shot

You might also like