|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/git-branching-and-merging/
课程评论:没有评论
**课程名称:** GIT:分支与合并 **课程概述:** 本课程是关于使用GIT进行分支和合并操作的入门和概述。完成本课程后,您将能够理解在本地或远程仓库创建分支的含义。您将熟练掌握如何保持分支的最新状态,以及如何清理本地和远程仓库。课程结束时,您将能够掌握在GitHub上与团队协作,并使用Pull Requests来验证多名开发者的更改。您将了解如何获取他人的更改,并最终能够本地和在GitHub上解决合并冲突。 **为什么要学习命令行?** 尽管市面上有Visual Studio、E-Git、GitHub Desktop等多种工具,但了解命令行至关重要,因为所有工具本质上都是命令行的封装。使用工具通常没问题,但当出现问题时,了解命令能帮助您更好地排查和解决。掌握命令可以轻松地在任何集成开发环境(IDE)中使用Git,而不知道命令可能会导致错误操作甚至无从下手。 **将要学习的常用GIT命令:** * `git add` * `git commit` * `git push` * `git pull` * `git fetch` * `git status` * `git log` * `git show` * `git checkout` * `git diff` * `git difftool` * `git merge` * `git mergetool` * `git config` **其他内容:** 课程还将演示如何设置默认的编辑工具、`git difftool` 和 `git mergetool`(在本课程中以VSCode为例,但您可以根据需要选择Perforce P4Merge或其他工具)。 **学习成果:** 本课程旨在让您掌握GIT分支与合并的基础知识和常用命令,并具备与团队协作进行代码管理的能力。虽然不会深入掌握所有命令,但在完成课程后,您将能够自信地进一步深入学习和应用这些命令。
This course is an introduction and overview of branching and merging with GIT. By the time you complete this course, you'll be able to understand what it means to create branches locally or at a remote repository. You'll have a great command of keeping your branches up-to-date and cleaning up both your local and remote repository. By the end of the course, you'll be in command of working with teams at GitHub and using Pull Requests to validate changes by multiple developers. You'll know how to make sure you get their changes as well, and finally you'll be able to resolve merge conflicts locally and at GitHub. Why should you learn the command line when tools are available like Visual Studio, E-Git, GitHub for desktops, and many others? Because all tools are just wrappers around the commands. If you use the tools you should be fine, but what about when things go wrong? Who will help you then? Knowing the commands makes it EASY to go to using any IDE with Git. Not knowing the commands could be the difference between doing something wrong or just not knowing what to do at all. Here are some of the commands we'll be interacting with during this course [and you'll get good at using them - however - we won't MASTER any of them, but -after this course - you'll be able to take the study deeper on your own from here for any of these commands!]. git addgit commitgit pushgit pullgit fetchgit statusgit loggit showgit checkoutgit diffgit difftoolgit mergegit mergetoolgit config Additionally, this course will show you how to setup a default tool for editing, git difftool, and git mergetool [VSCode in this course, but you could use Perforce P4Merge or another tool if you want].