GIT Commands

(1) How To Pull Code From A Remote Branch To Local?
======================================================
Step-1: git checkout -b hotfix/R110.1_Update1

Step-2: git pull origin hotfix/R110.1_Update1

Step-3: Go To Your Pycham And Files And Reload From Disk

(2) How To Cloan A GIT Branch ?
====================================
git clone –single-branch –branch release/R121.1 https://H515738@bitbucket.honeywell.com/scm/oa/operationsadvisor.git

git clone –single-branch –branch Insight_Service/Intermediate_R121.1 https://H515738@bitbucket.honeywell.com/scm/oa/operationsadvisor.git

git clone –single-branch –branch Insight_Service/R120.1 https://H515738@bitbucket.honeywell.com/scm/oa/operationsadvisor.git

git clone –single-branch –branch release/R120.1 https://H515738@bitbucket.honeywell.com/scm/oa/operationsadvisor.git

git clone –single-branch –branch Insight_Service/Merge_branch_R121.1 https://H515738@bitbucket.honeywell.com/scm/oa/operationsadvisor.git

git clone –single-branch –branch vishnu/Intermediate_R121.1 https://H515738@bitbucket.honeywell.com/scm/oa/operationsadvisor.git

(3) How To Create A New Branch ?
========================================
Step-1: Go To Bit Bucket : https://bitbucket.honeywell.com/projects/OA/repos/operationsadvisor/browse

Step-2: Click On “Create Branch” in left navigation bar.

Step-3: Repository: Operations Advisor/OperationAdvisor

Branch Name: Custom

Branch From: (Select From Which Branch You Need To Clone e.g: Insight_Service/Intermediate_R121.1)

Branch Name: (Give Your Branch Name e.g: Subrat/Intermediate_R121.1)

(4) How To Commit Your Changes To Remote Branch ?
==================================================

Step-1:

Leave a Reply

Your email address will not be published. Required fields are marked *