Packt

Git Essentials for Beginners

即将结束: 只需 199 美元(原价 399 美元)即可通过 Coursera Plus 学习新技能。立即节省

Packt

Git Essentials for Beginners

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
初级 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
初级 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • Identify the core components of Git and explain its purpose in version control.

  • Describe the differences between branching, merging, and stashing in Git workflows.

  • Install Git on various operating systems and set up repositories for project tracking.

  • Resolve merge conflicts and optimize commit history using Git’s advanced features.

要了解的详细信息

可分享的证书

添加到您的领英档案

作业

9 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

积累特定领域的专业知识

本课程是 Mastering GitHub for Developers and DevOps 专项课程 专项课程的一部分
在注册此课程时,您还会同时注册此专项课程。
  • 向行业专家学习新概念
  • 获得对主题或工具的基础理解
  • 通过实践项目培养工作相关技能
  • 获得可共享的职业证书

该课程共有21个模块

In this module, we will introduce the foundational concepts of Git and its importance in version control. You’ll get a clear roadmap of the topics covered in the course, ensuring you understand the tools and skills that will be developed throughout.

涵盖的内容

1个视频1篇阅读材料

In this module, we will delve into the basics of version control systems, exploring what they are and why they are essential for modern software development. You’ll learn about different types of VCS, the origins of Git, and why it stands out as the go-to solution for version control in the tech landscape.

涵盖的内容

6个视频

In this module, we will guide you through the process of installing Git across different platforms and configuring it for your development environment. You’ll explore core Git concepts such as initializing repositories, making your first commit, and cloning repositories, laying a strong foundation for practical version control.

涵盖的内容

11个视频1个作业

In this module, we will dive deep into Git’s architecture, covering its three essential stages—working directory, staging area, and repository. You’ll learn about crucial concepts like the HEAD pointer, hash values, and how to manage files within Git. Additionally, we’ll explore key commands such as Git diff and efficient ways to add and commit changes.

涵盖的内容

11个视频

In this module, we will focus on handling changes in Git, covering how to undo file modifications, amend commits, and roll back commits if needed. You’ll also learn to clean up your working directory by removing untracked files, ensuring a clean and organized project history.

涵盖的内容

5个视频

In this module, we will explore how to control which files Git tracks by using the .gitignore file. You’ll learn to prevent unnecessary files from cluttering your repository, how to handle empty directories, and the nuances of ignoring files that are already tracked in Git.

涵盖的内容

4个视频1个作业

In this module, we will explore the power of Git branches, which allow for parallel development and feature isolation. You’ll learn how to create and manage branches, switch between them, and merge changes back into the main codebase. Additionally, we will introduce a Git prompt script to streamline branch-related operations.

涵盖的内容

7个视频

In this module, we will focus on the concept of tagging in Git, a useful feature for marking important points in your project history. You’ll learn how to create and manage tags, explore the structure of the tags folder in .git, and understand how to re-tag or replace old tags. We’ll also cover how to checkout tags and navigate the detached HEAD state.

涵盖的内容

6个视频

In this module, we will explore how to create and use Git aliases, a powerful feature that allows you to shorten long or repetitive commands. You’ll learn how to configure aliases for common operations and review a sample list to optimize your Git workflow. This will help you work faster and more efficiently with Git commands.

涵盖的内容

3个视频1个作业

In this module, we will cover the process of working with remote repositories, including cloning them and reviewing the cloned content. Additionally, you’ll dive into commit log filtering, learning how to efficiently search and filter through the log history in order to track changes, authors, or specific commits in your projects.

涵盖的内容

6个视频

In this final module, we will review the essential concepts and skills covered in the course, from Git basics to advanced features like branching, tagging, and remote repository management. You’ll also receive recommendations on what to explore next to continue your Git journey and deepen your version control expertise.

涵盖的内容

1个视频

In this module, we will provide an overview of advanced Git operations, focusing on merging, branching strategies, stashing changes, and the rebase command. These techniques will help you manage complex workflows, maintain cleaner commit histories, and improve collaboration in version-controlled projects.

涵盖的内容

1个视频1个作业

In this module, we will explore the various types of merges in Git, including fast-forward and 3-way merges and provide demos to help visualize the processes. You’ll learn how to handle merge conflicts when they arise, using both simple scenarios and real-world demos to ensure you can resolve conflicts confidently and efficiently in your projects.

涵盖的内容

6个视频

In this module, we will focus on the challenges that arise when working with multiple branches, particularly branching conflicts. You’ll learn about proven branching strategies that help avoid conflicts and maintain a smooth development workflow, ensuring seamless collaboration within teams.

涵盖的内容

2个视频

In this module, we will explore the concept of stashing, which allows you to temporarily save uncommitted changes without losing your current work context. Through detailed demos, you’ll learn different stashing techniques and how to apply them in real-world development scenarios. Additionally, we’ll cover how to create a branch directly from a stash to preserve work while shifting focus.

涵盖的内容

7个视频1个作业

In this module, we will dive into the concept of rebasing, a powerful Git feature used to streamline commit history and maintain a clean project timeline. You’ll learn when and why to use rebasing, and how it differs from merging, and follow along with a demo to practice performing a rebase in real-world scenarios.

涵盖的内容

3个视频

In this module, we will introduce advanced Git features such as searching through commit history, rewriting past commits, and using the reset command. These skills will empower you to maintain an organized and efficient project history while managing changes and correcting errors with confidence.

涵盖的内容

1个视频

In this module, we will focus on Git's powerful searching capabilities, particularly using the git grep command. You’ll learn how to search for specific content within your project and apply advanced filtering to streamline your search process, making it easier to navigate large or complex code repositories.

涵盖的内容

3个视频1个作业

In this module, we will explore how to rewrite Git history to improve the clarity and organization of your project. You’ll learn how to update the last commit and use the rebase command to squash multiple commits, drop unnecessary ones, and reorder commits to create a cleaner project history. These skills are essential for maintaining a professional and coherent commit timeline.

涵盖的内容

7个视频

In this module, we will break down the Git reset command, focusing on its three types: soft, mixed, and hard. You’ll learn when and how to use each type of reset to manage changes in your repository, allowing you to adjust your work while maintaining control over your project history and files.

涵盖的内容

2个视频1个作业

In this final module, we will summarize the key lessons from this course, including advanced techniques like search, history rewriting, and resetting. You’ll receive guidance on how to continue developing your Git expertise, preparing you to handle complex version control challenges with confidence.

涵盖的内容

1个视频1篇阅读材料2个作业

获得职业证书

将此证书添加到您的 LinkedIn 个人资料、简历或履历中。在社交媒体和绩效考核中分享。

位教师

Packt - Course Instructors
Packt
1,365 门课程 356,188 名学生

提供方

Packt

从 Software Development 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题