Introduction to Git - Core Concepts
Introduction to Git - Core Concepts.
Twitter: @davidmahler
LinkedIn: https://www.linkedin.com/in/davidmahler
References:
Pro Git by Scott Chacon - https://git-scm.com/book/en/v2
Visual Git Reference by Mark Lodato - https://marklodato.github.io/visual-git-guide
Commands used in this video:
git init - initialize a new repo in a directory
git config --global user.name "name"
git config --global user.email "email"
(--local option as well)
git status - see the state of files in working tree, staging area vs latest commit in git history
git add - move file(s) to the staging area
git log - view the git history / git commit graph
git diff - diff of working tree and staging area
git diff --cached - diff of staging area and latest commit
git rm - remove a file from the working tree and the staging area
git checkout -- filename - retrieve a file from the staging area into the working tree
git reset HEAD filename - retrieve a file from the latest commit into the staging area
git checkout (commit hash) filename - retrieve a file from a previous commit
Видео Introduction to Git - Core Concepts канала David Mahler
Twitter: @davidmahler
LinkedIn: https://www.linkedin.com/in/davidmahler
References:
Pro Git by Scott Chacon - https://git-scm.com/book/en/v2
Visual Git Reference by Mark Lodato - https://marklodato.github.io/visual-git-guide
Commands used in this video:
git init - initialize a new repo in a directory
git config --global user.name "name"
git config --global user.email "email"
(--local option as well)
git status - see the state of files in working tree, staging area vs latest commit in git history
git add - move file(s) to the staging area
git log - view the git history / git commit graph
git diff - diff of working tree and staging area
git diff --cached - diff of staging area and latest commit
git rm - remove a file from the working tree and the staging area
git checkout -- filename - retrieve a file from the staging area into the working tree
git reset HEAD filename - retrieve a file from the latest commit into the staging area
git checkout (commit hash) filename - retrieve a file from a previous commit
Видео Introduction to Git - Core Concepts канала David Mahler
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Introduction to Git - Branching and MergingGit Internals by John Britton of GitHub - CS50 Tech TalkGIT Workflow - Georgia Tech - Software Development ProcessGit vs. GitHub: What's the difference?Jenkins 2021 Masterclass | Step by Step for Beginners | Interview Questions | Raghav Pal |Git Tutorial: Fixing Common Mistakes and Undoing Bad CommitsGit for Professionals Tutorial - Tools & Concepts for Mastering Version Control with GitAdvanced Git Tutorial - Interactive Rebase, Cherry-Picking, Reflog, Submodules and moreWhat is Git - A Quick Introduction to the Git Version Control System1.1: Introduction - Git and GitHub for PoetsIntroduction to Git - Remotes1.3: Forks and Pull Requests - Git and GitHub for PoetsGit Tutorial for Beginners: Learn Git in 1 HourGit Internals - How Git Works - Fear Not The SHA!Git Tutorial for Beginners: A Quick Start GuideGit and GitHub for Beginners - Crash CourseGit Tutorial for Beginners: Command-Line FundamentalsBranching Strategies ExplainedWhat is Git? Explained in 2 Minutes!1.6: Cloning Repo and Push/Pull - Git and GitHub for Poets