πGit and Github
All you need to know about Git and Github
GIT
Gotchas
How to remove .DS folder in mac
Basics

Untracked files

Staging area

Git status


Git Log


Branches and Commits


Check current branch

Create new branches



Merge Branches

What is Head



Checking out commits (Detached Head)




Detached Head Vs Branch



Deleting And Restoring Data
How staging area handles the files
Delete Working directory (committed) files


Undo or Restore unstaged changes






Undo or Restore Staged Changes
Deleting commits
Soft reset
Normal reset
Hard Reset
Delete Branches
Git Stash
Merging Branches
Fast forward merge


Fast forward merge practical example





Squash merge




Non-fast-forward merge (Recursive merge)






Git Rebase
Now what is rebase?




Before Rebase, let's see the git log for both the branches






Git Cherry Pick




GITHUB

Connecting Git and Github


push and pullOrigin and branch

How git and github gets connected - Under the hood



Create branch locally and push to origin (remote)
How to create a branch locally and push it to origin?


How to create a branch in origin(remotely) and then pull it to local ?




Local tracking branch and Remote tracking branch



Upstream
Github Summary

Last updated
