0% found this document useful (0 votes)
105 views

Bitbucket User Guide

Bitbucket User Guide outlines the steps to create a Bitbucket account, install Bitbucket on Windows, set up a project directory structure, and push a project to Bitbucket for the first time. It also provides commands for cloning a project, pushing and pulling changes, merging pushes and pulls, and recommended commit naming conventions.

Uploaded by

Sehrish Iftikhar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
105 views

Bitbucket User Guide

Bitbucket User Guide outlines the steps to create a Bitbucket account, install Bitbucket on Windows, set up a project directory structure, and push a project to Bitbucket for the first time. It also provides commands for cloning a project, pushing and pulling changes, merging pushes and pulls, and recommended commit naming conventions.

Uploaded by

Sehrish Iftikhar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Bitbucket User Guide: 

 
1­ Create Bitbuket account 
https://bitbucket.org/account/signup/ 
Enter your nxb email address. 
Write your full name as First Name + Last Name 
 
Download and install bitbucket setup according to your 32/64 bit Windows OS from the following 
URL: 
https://git­scm.com/download/win 
 
Project Directory Structure: 
● project­name ( write project name  ) 
○ backup  
○ content 
○ db 
○ package 
○ psd 
○ public_html 
○ scripts 
 
First Time Project Push: 
Before going to push your first project to Bitbucket repository, enable setting for “show hidden 
file, folders and drives”   
Go to your server directory (i.e ​xamp> htdoc​ ), right click and select ​“Git Bash Here”​. It will 
open Bitbucket command line editor related to that directory: 
1. Initialize Git 
a. git init  
2. Set your username and email. 
a. git config user.name [“Write full name” ] 
b. git config user.email [“Write nxb email id”] 
3. Add your project to Bitbucket repository   
a. git remote add origin repository url 
4. Check Status. It will show you the project directory listing ( marked with red color ). 
a. git status 
5. git add ­­ all  ( Just write all for first time push ) 
6. git status (will show added file listing with green color) 
7. git commit ­m “Initial Setup” 
8. git status (will show all files listing with white color) 
9. git push ­u origin master (Write ‘­ u’ for first time push) 
 
Project Clone: 
1. git clone “repository url” 
Project Push & Pull: 
Push Commands: 
1. git add . 
2. git commit ­m “Feature ­ File Name ­ Task Completion Percentage ” 
3. git push origin master 
 
Pull Commands: 
1. git add . 
2. git commit ­m “Feature ­ File Name ­ Task Completion Percentage ” 
3. git pull origin master 
 
Merging Project Push & Pull Commands: 
1. git add . 
2. git commit ­m “Feature ­ File Name ­ Task Completion Percentage ” 
3. git pull origin master 
4. git push origin master 
 
Helping Commands: 
1. For LF warnings:  
a. git config ­­global core.autocrlf true 
Commit Naming Conventions: 
Feature ­ Added feature in [File Name] ­ 10% ( Task Completion %age if task not completed ) 
Tweak ­ Added tweak in [File Name] ­ 10% ( Task Completion %age if task not completed ) 
Remove ­ Deleted file/directory/feature/code snippet from [ File/Directory Name ] ­ 10% ( Task 
Completion %age if task not completed ) 
Note ­ Updated/Added note in  [File/Directory Name]  ­ 10% ( Task Completion %age if task not 
completed ) 
Fixes ­ Updated/Added note in  [File/Directory Name]  ­ 10% ( Task Completion %age if task not 
completed ) 

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy