Git Rename Branch-Git Rename Remote branch

Git Rename Branch-Git Rename Remote branch whatever the procedure we are using for git rename branch, we use the same procedure for bitbucket and gitlab. in the following steps i will show you how to git rename remote branch and how to git rename local branch. so now you can use below commands in all cases.. read more →

How to Clone a Git Repository Into a Specific Folder?

How to Clone a Git Repository Into a Specific Folder? clone a git repository into current folder to clone a basic git repository we use below git clone command git clone <clone_url> in this command we are not specifiying where to clone the repository. so it will clone the git repository into current folder that.. read more →

Git Clone Specific Branch-Git Clone Branch Command

Git Clone Specific Branch-Git Clone Branch Command Git Clone Specific Branch: When you are working in a project, you have to work on only specific branches we don’t need to clone entire git repository. So at that time we have to clone a specific branch from git repository. If you clone the entire repository it.. read more →

git reset – -hard HEAD@{n}

git  reset  – -hard  HEAD@{n} git  reset  – -hard  HEAD@{n} (or) git  reset  – -hard  commit-id you can use any one of the above commands it is a potentially dangerous command, since it removes  all your uncommitted changes. hard reset can be very destructive. what exactly does the hard reset It will remove all files.. read more →

Git Create Branch-Switch Branch-List Branches-Local and Remote-Git Branch Command

Git Create Branch-Switch Branch-List Branches-Local and Remote in the following examples i will show you how to create a branch locally and remotely and how to push the newly created branch to remote. and how to list the branches. List the local branches in git To list the branches in a git we use git.. read more →

git commands list with examples pdf

git commands list with examples pdf in this pdf you will get all the git commands with examples all the basic to advanced git commands explained clearly in this pdf git commands list pdf contains How to install git in windows How to clone a git repository How to create a branch in git How.. read more →

How to unstage a file in git-git reset HEAD filename

How to unstage a file in git-git reset HEAD filename Sometime you mistakenly added files to staging so if you want to revert it back you can use this command

this command remove the files from staging and those files will be added working directory or unstage the files. and it will not remove.. read more →

git create branch from commit id

we can ceate a branch form commit id or sha code or head number create branch from commit id or sha code  

  by using above command you can create a new branch from commit id or sha code create branch from head number

  git branch devops  HEAD@{0} it will create a.. read more →

Git Branching Strategy-Git Work Flow

Most Useful Git Branching Strategy or Git Work Flow in this blog post I will tell you how i am implementing git strategy or git workflow  in my project and this is the most used git strategy or git workflow in any organisation. in my project we have lot of repositories in git or bit-bucket but.. read more →