DaevMithran / advanced-git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version Control with Git

Coursera course: Link

This course covers in depth about the

  • Architecture
  • References
    • Caret and Tilde Operators
    • The .git Directory
    • Git ID's
    • Git Tags
  • Branches
    • Dangling Commits
    • Detached Head
    • Branch Label
    • Tracking branches
  • Merging
    • Fast Forward Merge
    • Merge Commit
    • Merge Conflicts
    • Rebasing
    • Squash Merge
  • Pull requests
  • Workflows
  • Final Project

Git Workflow


Git Flows


Git cheatsheet

Command Description
git reflog Returns a local lists of recent HEAD commits
git show HEAD^2 Refers to a second parent of a merge commit
git show HEAD^^ Refers to first parent's parent of a merge commit
git merge --no-ff Avoids a fast forward merge
git branch -f (branch-name) (new-commit) Move branch label to a different commit
git remote set-head (remote-url-alias) (branch-name) Change tracking branch
git rebase (upstream-branch) (branch-name) Rebasing a branch
git commit --amend Amending a commit
git merge --squash Perform a squash merge

About