How to create branch from remote branch

git command to create a new local branch from the remote branch

git remote add <name> <remote_repo>
git fetch <name>
then,

git checkout -b [branch] [remotename]/[branch]

Comments

Popular posts from this blog

How to Run Python Script in PM2 Server

Handling Performance Bottlenecks in Spring Applications

Retry in SprinBoot Application