The Git & Github Bootcamp

所在平台: Udemy

课程主页: https://www.udemy.com/course/git-and-github-bootcamp/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Git与Github入门课程 概述:学习Git的最佳时机是昨天,第二好的时机则是今天!Git是从事与代码相关领域(如数据科学、游戏开发、机器学习等)工作中必不可少的工具。本课程涵盖了您在真实世界中开始使用Git和Github所需的所有知识。课程共分为四个单元,包含20多个部分,分别为:Git基础知识、进阶Git、Github与协作、以及一些复杂命令。 首先,我们将介绍Git基础知识。该单元旨在提供日常使用Git所需的基本工具。内容包括版本控制软件的定义、重要性以及Git的历史。我们将安装Git并学习相关的Unix命令,接着重点讲解核心Git操作,如提交、分支及相关概念,例如工作目录、库、暂存区等。课程中会介绍常用的Git命令,如git init、git add、git commit、git status、git log、git branch和git merge。最后,我们详细探讨分支、合并及解决冲突的过程。 接下来,我们进入进阶Git单元,讨论那些不如基础知识核心但非常实用的其他命令和概念。我们将深入学习git diff命令以及各种提交和分支之间的比较,解析diff命令产生的复杂输出。同时,我们将关注git stash命令,它是许多用户在Git工作流程中喜爱的“便利命令”。最后,我们将深入探讨如何撤销更改及时间旅行的操作,学习如何复查早期工作、分离和重新附加HEAD以及放弃更改等命令(如git checkout、git restore、git reset和git revert)。 接着,我们转向Github与协作单元,探索Github等托管远程库的工具及其带来的好处。课程会指导您创建自己的Github库,并使用git push、git pull和git fetch命令在本地和远程库之间同步更改。我们还将关注学生在实际工作中可能遇到的常用协作工作流程,如功能分支、拉取请求、分叉与克隆等。我们还会讨论如何为开源项目贡献代码及配置Github库以便于协作,同时学习Github Gists和Github Pages等实用功能。 最后的单元是一些复杂命令和高级话题的集锦。我们将讨论一个“更可怕”的Git命令:变基(rebasing),分析它的优缺点,并与合并(merging)进行比较。接着,我们将教您如何使用交互式变基命令来整理Git历史记录,具体操作包括修改、编辑、丢弃和压缩提交。之后,我们将讨论Git标签(轻量标签和注释标签)、语义版本控制及标签工作流程。此外,将深入探讨Git的内部工作原理,包括Git内部使用的文件和文件夹、哈希函数的作用以及Git对象(如blobs、trees等)。我们还将讨论引用日志和git reflog命令,学习如何使用reflog来恢复“丢失”的提交和撤销变基操作。最后,您将学会如何编写自定义和强大的Git别名! 整个课程中包含大量我为阐释Git而制作的图表和视觉参考,并有针对性地设计了练习,以便您在学习过程中实践所学概念。希望您喜欢这门课程!

课程评论(0条)

课程详情

The following sentence is annoying, but also true: the best time to learn Git was yesterday. Fortunately, the second best time is today! Git is an essential tool for work in any code-related field, from data science to game development to machine learning. This course covers everything you need to know to start using Git and Github in the real-world today!The course's 20+ sections are broken down into four separate units:Git Essentials Next Level GitGithub & CollaborationThe Tricky BitsWe start off with Git Essentials. The goal of this unit is to give you all the essential Git tools you need for daily use. We start off talking about version control software, what it is, why it matters, and the history of Git. Then we install Git and run through the Unix commands you'll need to work with Git (you can skip this if you're already familiar). The bulk of this unit is focused on teaching the core Git mechanics like committing and branching and the associated concepts: the working directory, the repository, the staging area, etc. We cover Git commands including: git init, git add, git commit, git status, git log, git branch, and git merge. We end with a detailed look at branching, merging, and resolving conflicts. Then we move on to out Next Level Git unit, where we cover additional commands and Git concepts that are extremely useful, but maybe not as "core" as the Git Essentials. We start with a comprehensive look at the gif diff command and the various comparisons that we can make between commits, branches, the working directory, the staging area, and more! We pay special attention to reading and parsing the dense output generated by diffs. Then we shift our focus to stashing with the git stash command, a "convenience command" that many users love incorporating into their Git workflow. Finally, we dive deep into undoing changes and time traveling with Git. We learn how to revisit earlier work, detach and re-attach HEAD, and discard changes. We cover git commands that help us undo changes including git checkout, git restore, git reset, and git revert.Next up, we change gears to focus on Github & Collaboration. We start by exploring Github (and similar tools) that host remote repositories and discussing the benefits they provide. We create our own Github repositories and sync up changes between our remote and local repositories using the git push, git pull, and git fetch commands. We then focus on commonly used collaboration workflows that students may encounter in the real world: feature branching, pull requests, forking & cloning, and more! We discuss contributing to open source projects and configuring Github repositories for collaboration. We also spend some time learning about useful Github features including Github Gists and Github Pages for free static hosting.The last unit in the course, The Tricky Bits, is really just a collection of useful Git command and advanced topics. We start by covering one of the "scarier" Git commands: rebasing! We discuss the potential benefits and pitfalls of rebasing and compare it to merging. Then we learn how to clean up our Git history by rewording, editing, dropping, and squashing commits using the interactive rebase command. Next, we discuss Git tags (lightweight and annotated tags) semantic versioning and tagging workflows. After that, we move on to a deep dive into the inner workings of Git. We discuss the files and folders Git uses internally, the role of hashing functions in Git, and the role of Git objects (blobs, trees, etc.). Next, we talk about reference logs and the git reflog command. Specifically, we learn how we can use reflogs to rescue "lost" commits and undo rebases. Finally, we learn how to write custom and powerful Git aliases!Throughout the course, you'll find tons and tons of diagrams and visual references I've created to try and explain Git. The course also includes exercises I've tested on my in-person students, to give you an opportunity to practice the concepts in the course along the way. If you are reading this sentence, I congratulate you on making it this far:) I hope you enjoy the course!

课程标签

0人关注该课程

主题相关的课程