CATEGORY

GIT

Git rename branch - local and remote (PROPERLY)

The three steps to rename branch in git. Step 1; git branch -m old_branchname new_branchname, Step 2: git push origin :old_branchname new_branchname, Step 3: …

By admin · 8 min read · GIT

How to SAFELY git delete branch? [SOLVED]

You can safely delete local branch with git branch -d yourbranch. To delete a remote branch, use git push origin :mybranch, assuming your remote name is origin …

By admin · 11 min read · GIT

git stash explained in detail with examples

What is git stashing and how it works. When should you use git stash command, Different ways to store your changes with stashing, Different ways to restore your …

By admin · 13 min read · GIT

Git rebase explained in detail with examples

git rebase is used to integrate changes from one branch into another. rebase takes a series of commits (normally a branch) and replays them on top of another …

By admin · 12 min read · GIT

Git clone repository

In the previous article we created our first git repository. Now let us perform git clone repository to have a local copy of the remote repo in a different

By admin · 5 min read · GIT