Skip to content

jasamour/intro-to-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Working Directory

  • Area where all of our files and directories and changes are living all the time

Staging Area

  • Files and directories that we explicitly add to the staging area
    • $ git add *.html
    • $ git add .
    • $ git add -A (including hidden)

Git Repository

  • Where all our snapshots are stored

Git Branches

  • Listing all branches
    • $ git branch
  • Adding a branch
    • $ git checkout -b [newBranchName]
  • Changing branches
    • $ git checkout [branchName]
  • Merging a branch
    • $ git merge [branchName]
  • Removing a branch
    • $ git branch -d [branchName]

       /-----0---0----0
      /              /
      

0------0----0----0----0

About

Introduction to the basic git commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published