Sitemap
Revive Coding

Revive Coding

Revive Coding is a place where you learn Web Development. Here we teach you, art of becoming Full Stack Web Developer and ready for your Dream Job.

All Git Command for Developer | Github Tutorial

Jul 27, 2022

To see the current and another branch

git branch

Save all your Changes to local

git stash

Switch to another Branch

git checkout branch_name

Creating a new branch

git checkout -b new_branch_name

Deleting a branch

git branch -d branch_name_to_delete

Pull all the changes from a particular branch

git pull origin branch_name_want_to_pull

Go to your own branch you are willing to code

git checkout name_of _your_branch_name

Merge your code with present branch

git merge branch_name_you_want_to_merge

type ctrl+x and ctrl +c

Get Revive Coding’s stories in your inbox

Join Medium for free to get updates from this writer.

Apply your saved changes to your present code

git stash apply

--

--

Revive Coding
Revive Coding

Written by Revive Coding

Revive Coding is a place where you learn Web Development. Here we teach you, art of becoming Full Stack Web Developer and ready for your Dream Job.