Welcome#

Welcome to the missing manual for ANU GitLab and Git, a comprehensive guide to mastering Git for your assignments. Git is the standard of version control system in fact. Whether you’re a beginner just starting out or someone looking to refine skills, this manual is designed to guide you through the ins and outs of Git with clear explanations and practical examples.

Git can sometimes make you feel overwhelming. But with this manual, you’ll gradually find it easier to understand and put it to use. I’ve designed this manual to make it easy for you to learn what you need quickly and broken down the content into three key sections to help you navigate through the materials at your own pace. I hope this manual can lay a solid foundation for you, and you can start from here and learn whatever you want about Git in the future.

If you have little knowledge of Linux and Terminal and don’t want to dive deeper, but are still eager to start using Git quickly in your projects, you may use Git in IDEs like VS Code. VS Code provides powerful plugins that offer graphical interface for commonly-used Git commands. Check out a brief tutorial in this chapter.

It is impossible to learn everything about Unix, and maybe it’s also true for Git. Don’t worry about memorizing everything. In some chapters, I treat topics in detail. So concentrate on what you need and what you think you will enjoy. Apart from this manual, there’s also an online official course for Git and GitLab essentials.

Catalogue#

Here’s the breakdown:

  • Pages 1 to 7: Basics of Git,
  • Pages 8 to 11: Intermediate Git techniques,
  • Pages 12 to 13: Advanced Git topics,
  • Pages 14 to 16: Cheatsheet, VS Code and Q&A.

1. Basics#

If you’re new to Git, start here. This section covers all the fundamental concepts and commands that you need to get started. By the end of this section, you’ll be comfortable with initializing repositories, forking repositories, making commits, and pushing your work to GitLab.

2. Intermediate#

Once you’re familiar with the basics, it’s time to dive deeper. The Intermediate section will help you take your Git skills to the next level, covering more complex topics like merging and rebasing, reverting and resetting, and the GitHub Workflow.

3. Advanced#

As you continue mastering Git, it’s time to dive into more advanced topics that tackle real-world challenges. In this section, you’ll learn crucial skills like conflict handling for resolving coding clashes and GitLab CI for automating testing and deployment. These tools will help you streamline your workflow and enhance collaboration, empowering you to work more efficiently in complex projects.

Others#

This section is a collection of additional resources that can be invaluable as you continue to work with Git. From cheat sheets, frequently asked questions to Git in VS Code, these resources are here to support you whenever you need a quick reference or a deeper explanation.

If you have little knowledge of Linux and Terminal and don’t want to dive deeper, but are still eager to start using Git quickly in your projects, you may use Git in IDEs like VS Code.

The last page is for Frequently Asked Questions (Q&A). What’s more, A Git and Linux Cheatsheet is also available.

Best Wishes#

We hope this manual becomes your go-to resource as you learn and grow in your understanding of Git. Remember, mastering Git is a journey, and every bit of practice will make you more confident and proficient in using it. Don’t hesitate to revisit sections as you progress. If you are a student at SoCo, Git is a tool that you’ll use throughout your time at ANU and possibly your future career. The more you learn, the more valuable it will become. Remember, a bit at a time, depending on what they need at the moment.

Best of luck on your journey with Git! We’re excited to see how you’ll use these skills to collaborate on projects, manage your code more effectively, and bring your ideas to life. Happy coding!

00
bars search caret-down plus minus arrow-right times