Cicd documentation layout


Install Git using yum in Linux



Download 6.25 Mb.
Page6/39
Date15.06.2023
Size6.25 Mb.
#61535
1   2   3   4   5   6   7   8   9   ...   39
CIcd

3.5.Install Git using yum in Linux:


YUM:

[root@cicdapi opt]# yum install git java-1.8.0-openjdk -y
[root@cicdapi opt]# git –version
If it installed properly above command gives output of instlled git version

3.6. Blue print Diagram of Git flow:




  1. First copy repository from ‘https’ protocol.

# git clone ‘repository Url’

  1. Next move the file to staging area.

# git add README.md

  1. Commit the moved file to local repository, while committing we must mention for what we are committing.

# git commit -m ‘Brief explanation about commit’

  1. Final step, Push the file from local repository to remote repository like Bit bucket, Git hub, etc...,

# git push origin

  1. To do any changes again pull the repository from remote.

# git pull origin

  1. Now Repeat steps 2,3,4, as usual.

3.7. Blue print Diagram of Git Branching Strategy:



Master (Main Branch): This is default branch created when you create a repository. No one should directly work on master, any code we push to master must be well tested. Only few seniors will have permissions to push to master.
Hotfix Branch: This branch is used for fixing production (where customers using servers) defects, this branch is created from master.
Release Branch: This is the branch for merging the develop1 & 2, where errors are fixed and then will sent to master.

Download 6.25 Mb.

Share with your friends:
1   2   3   4   5   6   7   8   9   ...   39




The database is protected by copyright ©ininet.org 2024
send message

    Main page