10 个提高 Git 技能的资源
Git

> 
> 年末总结一下 Git 的最佳表现。以下是告诉你可以在新的一年中以新奇的方式使用 Git 的十篇文章。
> 
> 
> 


![](/data/attachment/album/202001/02/093934q5ifu46u4nuq4lgi.jpg)


2019 年过去了，是时候回顾一下我们（opensource.com）今年发表的有关 Git 的前 10 篇文章了。


这些文章包括从用例和教程到一些非常有趣的（甚至有些非常规的）使用 Git 的方法。所有这些文章都可以帮助你提高 Git 技能，但是，如果你确实需要 Git 入门介绍，请务必查看我们的《[Git 入门：术语入门](https://opensource.com/article/19/2/git-terminology)》文章，并下载我们的 [Git 备忘单](https://opensource.com/downloads/cheat-sheet-git)。


1. Molly de Blanc 写的《[GNOME 项目如何使用 Git](https://opensource.com/article/19/10/how-gnome-uses-git)》考察了 GNOME 项目采用的自托管 GitLab 实例的做法，该实例作为 GNOME 项目集中保存对 GNOME 做出的贡献的位置。De Blanc 从事于非编码职位，因此她的文章还探讨了切换到 GitLab 如何使主要角色不是编写代码的贡献者受益。
2. Ahmad Awais 写的《[Emoji-Log：编写 Git 提交信息的新方法](/article-10627-1.html)》解释了如何使用 Emoji-Log（一种直白的、开源的 Git 提交日志标准）来编写更好、更用户友好的 Git 提交消息。本文概述了 Emoji-Log 背后的理论以及可添加到 `.bashrc`、`.zshrc` 或 `.gitconfig` 中的配置示例，以便你快速开始使用 Emoji-Log。
3. 在《[用 Git 管理你的每日行程](/article-11320-1.html)》中，Seth Kenlon 解释了如何使用 Git 来管理日历。通过结合 Org 模式、Git 和其他一些工具，Kenlon 描述了如何创建可在设备之间同步的基于 Git 的日历工作流。
4. 《[用 Git 作为聊天应用的后端](/article-11342-1.html)》，Seth Kenlon 探索了另一种使用 Git 的非常规方式。在本文中，他探讨了 GIC，这是一个用 Node.js 编写的聊天客户端，其中 Git 用作后端数据库。GIC 是一个概念验证模型，不是供产品环境使用的东西，但是它提供了一个有趣的示例，说明了使用 Git 的真正独特方法。
5. Alan Formy-Duval 的《[Git 学习实用练习](https://opensource.com/article/19/5/practical-learning-exercise-git)》是一份他为提高 Git 技能而努力的编年史。他分享了自己的经验，以使其他人受益于他所学，而 Git 新手将从这篇对 Git 核心功能的出色概述中受益匪浅。
6. 《[用 Git 帮助写作者更好地完成工作](/article-11499-1.html)》的作者 Seth Kenlon 着眼于写作者如何从基于 Git 的工作流中受益。本文介绍了如何使用 Git 和 Atom 利用 Markdown 进行书写。通过遵循本文中的示例，写作者可以轻松地将复杂的版本控制系统添加到其编写工作流中。
7. Sachin Patil 在《[如何使用 Magit 管理 Git 项目](https://opensource.com/article/19/1/how-use-magit)》中，解释了如何使用 Emacs 的 Magit 扩展来管理 Git 存储库。本文提供了有关如何在 Emacs 中执行一系列关键 Git 任务的清晰示例。这些示例带有说明各种任务的屏幕截图。
8. 《[把“点文件”放到版本控制中](/article-11419-1.html)》的作者 Matthew Broberg 演示了如何使用 Git 存储放在主目录中的点文件。将你的点文件存储在 Git 存储库中，可以更轻松地在计算机之间共享系统配置，并且，如果你愿意的话，也可以与其他人共享配置。这篇文章也有不要共享哪些文件的警告，因为共享错误的点文件会将其暴露给其他人。
9. Austin Dewey 的《[4 种用于 Git 加密的机密管理工具](https://opensource.com/article/19/2/secrets-management-tools-git)》在本文中比较了 Git-crypt、BlackBox、SOPS 和 Transcrypt，研究了在 Git 中存储机密的工具。本文涵盖四个主要领域：支持的加密类型、每个项目的目标、项目的工作流和差异以及其他功能。
10. Seth Kenlon 的《[使用 Git 管理 Git 服务器](https://opensource.com/article/19/4/server-administration-git)》解释了如何使用 Gitolite 管理 Git 服务器。Gitolite 是使用 Git 来管理 Git 服务器的“管理杂项的后端应用程序”。本文演示了如何安装、配置和使用 Gitolite，并提供了清晰的示例详细说明了该过程的每个步骤。




---


via: <https://opensource.com/article/19/12/git-resources>


作者：[Joshua Allen Holm](https://opensource.com/users/holmja) 选题：[lujun9972](https://github.com/lujun9972) 译者：[wxy](https://github.com/wxy) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
As we near the end of 2019, it is time to look back at the top 10 articles we published about Git this year.


These articles range from use cases and tutorials to some very interesting, if somewhat unconventional, ways to use Git. All of these articles can help you improve your Git skills, but if you really need a Git 101 introduction, be sure to check out our * Getting started with Git: Terminology 101* article and download our

[Git cheat sheet](https://opensource.com/downloads/cheat-sheet-git).

-
by Molly de Blanc looks at the GNOME project’s adoption of a self-hosted GitLab instance as the GNOME project’s centralized location for contributing to GNOME. De Blanc works in a non-coding position, so her article also explores how the switch to GitLab benefits contributors whose primary role is not writing code.[How GNOME uses Git](https://opensource.com/article/19/10/how-gnome-uses-git) -
Ahmad Awais’

explains how to use Emoji-Log, "a straightforward, open source Git commit log standard," to write better, more user-friendly, Git commit messages. The article contains an overview of the theory behind Emoji-Log and configuration examples that can be added to[Emoji-Log: A new way to write Git commit messages](https://opensource.com/article/19/2/emoji-log-git-commit-messages)**.bashrc, .zshrc, or .gitconfig**to quickly start using Emoji-Log. -
In

, Seth Kenlon explains how to use Git to manage your calendar. By combining Org mode, Git, and a few other tools, Kenlon describes how to create a Git-based calendar workflow that can be synced across devices.[Manage your daily schedule with Git](https://opensource.com/article/19/4/calendar-git) -
by Seth Kenlon explores another unconventional way to use Git. In this article, he explores GIC, which is a chat client written in Node.js with Git functioning as the backend database. GIC is proof of concept, not something intended for production use, but it provides an interesting example of a really unique way to use Git.*Use Git as the backend for chat* -
Alan Formy-Duval’s

is a chronicle of his effort to improve his Git skills. He shares his experience for others to benefit from what he learned, and Git novices will gain a lot from this excellent overview of Git’s core functionality.[A practical learning exercise for Git](https://opensource.com/article/19/5/practical-learning-exercise-git) -
by Seth Kenlon looks at how writers can benefit from a Git-based workflow. The article explains how to use Git and Atom to write using Markdown. By following the examples in this article, writers can easily add a complex revision control system to their writing workflow.[How writers can get work done better with Git](https://opensource.com/article/19/4/write-git) -
In

, Sachin Patil explains how to use Emacs’ Magit extension to manage Git repositories. The article provides clear examples of how to perform a selection of key Git tasks inside Emacs. The examples are supported by screenshots illustrating the various tasks.[How to use Magit to manage Git projects](https://opensource.com/article/19/1/how-use-magit) -
by Matthew Broberg shows how to use Git to store the dotfiles in your home directory. Storing your dotfiles in a Git repository makes it easier to share your system configuration between computers and, if you so choose, share your configurations with others. The article does come with a warning about what not to share because sharing the wrong dotfiles can expose others.[Move your dotfiles to version control](https://opensource.com/article/19/3/move-your-dotfiles-version-control) -
Austin Dewey’s

compares Git-crypt, BlackBox, SOPS, and Transcrypt in this article examining tools for storing secrets in Git. The article covers four major areas: encryption types supported, the goals of each project, the projects’ workflows and differences, and other features.[4 secrets management tools for Git encryption](https://opensource.com/article/19/2/secrets-management-tools-git) -
by Seth Kenlon explains how Gitolite can be used to manage a Git server. Gitolite is "a backend application managing the fiddly bits" involved in using Git to manage a Git server. The article demonstrates how to install, configure, and use Gitolite, with clear examples detailing each step the process.[Run a server with Git](https://opensource.com/article/19/4/server-administration-git)

## Comments are closed.