DevOps training link

 https://intellipaat.com/academy/course/devops-free-course/


There always use to be clash between Developer and Operation team during code exchange.  Example Developer end the code is working perfectly but due to Operation team system issues the code may not run correctly.

But, Now Developers use Docker and put the code into it and send it to Operations team and has version control system .

Continuous integration Life cycle stage which helps in transition from one stage to another : Once push the code to version control system which is then pushed to testing control system and all manual activity is done with tool called Continuous integration tool.

DevOps is collection of tools that automates all manual activities exchanged between Developer team and Operation team.

Git is version control system and is most used DevOps tool used by all companies.


Commands in git to 

Create repository
Make changes
Syncing Repository
Parallel Development.


Docker is a software / computer program that performs operating system virtualization 


Ubuntu Server
--------------------
ubuntu : mkdir devops

ubuntu : git init   ( git initilised working directory )

ubuntu : git status  ( what is status and what all files in the directory ).

ubuntu : git add .    ( track all files ).

ubuntu : git commit -m  3.txt    ( commit the files to the local system )

ubuntu : nano.txt 

***************

www.github.com 

create a repository 

To push changes to your repository type the command 

ubuntu : git push origin master

type username and password 

now go to github and find the files that are pushed...


*******************

Clone repository

Get clone option

***********************************

How to pull file in git 

ubuntu : git pull <url of the link >

************************************

To handle workspace of multiple developers we create branch

ubuntu : git branch < branch name > 

To delete branch name 

ubuntu : git branch -D < branch name > 

*************************************

To check the log for every commit detail

ubuntu : git log

*************************************

ubuntu : git stash 
  
This command is useful to switch branches and if you do not want save in git repository.

*************************************

ubuntu : git revert < commit id > 

This command helps in reverting a command to previous version 

*************************************

ubuntu : ls

list all the files 

**************************************

ubuntu : git diff <commid id >  <commit id >

This command helps us find the difference between two files.

************************************

To check if everything is fine 

ubuntu : git status

*************************************

Docker

hub.docker.com

ubuntu : sudo docker run -it -d test






Comments

Popular posts from this blog

Agile software development