DevOps
Tutorial 10: Install Ubuntu VM on Oracle Virtual Box
What you will Learn: Need for Virtualization Install Oracle VM Virtual Box Download Ubuntu desktop image Install Ubuntu image on oracle virtual box Need for Virtualization Most of us work on Windows OS. Using virtualization technique, you can install an image of Linux OS on your windows host machine. So your windows machine will …
Tutorial 10: Install Ubuntu VM on Oracle Virtual Box Read More »
Tutorial 9: Merge Branch
What you will Learn: Create a branch and checkout in a single command Delete a branch Merge branches in remote GitHub Pull merged branch in local machine Create a branch and checkout in a single command So far we have used a separate command to create a branch (git branch <branch-name>) and a separate command …
Tutorial 8 : Create branch
What you will Learn: Branches overview Create new branch Switch to a new branch Switch to main branch Create a new file on the new branch Push branch to GitHub Branches overview A branch represents an independent line of development. To understand it better, you can see ‘4 commits’ link below Click this link. As …
Merge the branches using pull request in GitHub
Merge the branches using pull request in GitHub What you will Learn: Create a branch and checkout in a single command Delete a branch Merge branches in remote GitHub Pull merged branch in local machine Create a branch and checkout in a single command This is tutorial 9 of Devops series. So far we have …
Tutorial 7 : Pull files from GitHub
What you will Learn: Pull file from GitHub to local GIT repository (git pull) Pull file from GitHub to local GIT repository (git pull) Now we will see the reverse process viz pulling the files from GitHub to our local machine See the highlighted section below Click ‘Add a README’ Put the cursor at …
Tutorial 6 : Push changes to GitHub
What you will Learn: git checkout (to discard the changes) Importance of Github Create Git repository on GitHub Push local GIT repository to remote GitHub (git push) Git checkout (to discard the changes) ‘git checkout <filename>’ is used to discard the changes in a file The status command output now shows that there is nothing …
Tutorial 5: Commit files to GIT
What you will Learn: Commit file to local GIT repo ‘git log’ and ‘git show’ commands Modify a file git diff Commit file to local GIT repository Let us suppose, we build some feature and get to a point where we can say “This code can now be committed”. So, commit is a safe …
Tutorial 4: Initialize GIT
What you will Learn: Initialize GIT repository on local machine Create files inside local working directory Git status Add files to Git staging (git add) Initialize GIT repository on local machine To convert our working directory into a GIT repository, we have to initialize our working directory (viz gitrepo). We use ‘git init .’ …