Loading…
Loading…
Git
A complete Git course for students and working developers: commits, diffs and history, branching, merging and rebasing, remotes and teamwork, undoing and recovery, investigation tools, configuration, releases, large projects, internals and graded exercises. 56 articles with practice quizzes.
What a branch really is, and every everyday branch task: creating and switching with git switch, start points, what happens to uncommitted changes, detached HEAD, listing, filtering and sorting branches, renaming, deleting safely, moving a branch, orphan branches, and naming rules.
kvi5hnuCode Sprout team member10 minLook at any single commit, tag or file version: git show for a commit's message and changes, showing only names or stats, a file as it was in any commit or in the staging area, listing a commit's files with ls-tree, saving or restoring an old version, merge and tag output, and diff-tree for scripts.
kvi5hnuCode Sprout team member7 minFind anything in a project's history with git log: one-line and graph views, showing patches and changed files, custom formats and dates, limiting by count, date, author and message, finding when code was added with -S and -G, the history of one file or a range of lines, and comparing branches.
kvi5hnuCode Sprout team member9 minKeep build output, logs, secrets and personal files out of Git: .gitignore pattern rules, negation and its folder trap, nested ignore files, private and global ignores, checking why a file is ignored, untracking committed files, ignoring changes to tracked files, filters and empty folders.
kvi5hnuCode Sprout team member11 minHow to read a diff and get the one you need: unstaged, staged and all changes, commits, branches with two dots or three, single paths, summaries, word diffs, whitespace and context options, diff algorithms, patches, files outside a repository, and UTF-16 and binary files.
kvi5hnuCode Sprout team member10 minEverything about git commit: writing messages people can use, multi-paragraph and file-based messages, committing selected paths, amending the last commit safely, author versus committer, committing for someone else, co-authors and trailers, setting dates, empty commits and useful options.
kvi5hnuCode Sprout team member10 minEvery way to prepare a commit: git add for files, folders and patterns, -A, -u and dry runs, staging parts of a file with git add -p, the git add -i menu, intent-to-add, unstaging, deleting with git rm, stopping tracking with --cached, and renaming with git mv.
kvi5hnuCode Sprout team member10 minThe model behind every Git command: the working tree you edit, the staging area that prepares the next commit, and the repository of committed snapshots. How a file moves between them, how to see each version, what commit -a skips, and why the staging area exists.
kvi5hnuCode Sprout team member10 minCreate a repository with git init, check its state with git status, choose files with git add, record snapshots with git commit, read the history with git log, and understand what lives in the hidden .git folder and the everyday edit-add-commit cycle.
kvi5hnuCode Sprout team member10 minHow to install Git on Windows, macOS and Linux, check the version, set your name and email, choose an editor and default branch name, see where each setting comes from, keep work and personal identities apart, and get help on any command.
kvi5hnuCode Sprout team member10 minWhat version control solves, how Git stores a project as a chain of snapshots, why every clone holds the full history, how Git differs from GitHub and GitLab, the vocabulary used in this course, and how to run the examples in the page.
kvi5hnuCode Sprout team member11 minA complete Git course for students and working developers: commits, diffs and history, branching, merging and rebasing, remotes and teamwork, undoing and recovery, investigation tools, configuration, releases, large projects, internals and graded exercises.
kvi5hnuCode Sprout team member8 min