Skip to content

CodeCoreYVR/git_basics

Repository files navigation

git_basics

#git branching and merging practise

A branch is a series of commits

We can create a new branch using git branch "<name_of_branch>" The new branch's root commit will be master commit of the branch you've "branched off of"

To fetch or pull

git fetch -> getting all the commits from remote (github)

git merge -> merge commits from a branch into HEAD (branch)

git pull -> does a git fetch and a git merge after

To delete

git branch -D

To rename

git branch -m

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •