# \#git

**URL:** https://forum.codeselfstudy.com/tag/git/34.md

[Latest](https://forum.codeselfstudy.com/latest.md) · [Categories](https://forum.codeselfstudy.com/categories.md) · [Tags](https://forum.codeselfstudy.com/tags.md)

---

## [Git comic](https://forum.codeselfstudy.com/t/git-comic/2270)

<div class="topic-metadata">

**Author:** [@Josh](https://forum.codeselfstudy.com/u/Josh)\
**Replies:** 1\
**Last updated:** [April 30, 2020, 5:15am UTC](https://forum.codeselfstudy.com/t/git-comic/2270 "2020-04-30T05:15:42Z")

</div>

I saw this on Twitter and thought it was funny.

---

## [How to Use Git Hooks](https://forum.codeselfstudy.com/t/how-to-use-git-hooks/2099)

<div class="topic-metadata">

**Author:** [@Josh](https://forum.codeselfstudy.com/u/Josh)\
**Replies:** 0\
**Last updated:** [February 8, 2020, 7:32am UTC](https://forum.codeselfstudy.com/t/how-to-use-git-hooks/2099 "2020-02-08T07:32:31Z")

</div>

Here’s a useful resource on how to use Git hooks: https://githooks.com/ And an npm package to run them from package.json files: https://github.com/ghooks-org/ghooks

---

## [Write Yourself a Git (in Python)](https://forum.codeselfstudy.com/t/write-yourself-a-git-in-python/1531)

<div class="topic-metadata">

**Author:** [@Josh](https://forum.codeselfstudy.com/u/Josh)\
**Replies:** 0\
**Last updated:** [March 14, 2019, 2:56pm UTC](https://forum.codeselfstudy.com/t/write-yourself-a-git-in-python/1531 "2019-03-14T14:56:03Z")

</div>

I haven’t looked closely yet, but this looks interesting: Write yourself a Git. It’s not a joke, and it’s really not complicated: if you read this article top to bottom and write the code (or just clone the repository …

---

## [Tip: how to create a global gitignore file](https://forum.codeselfstudy.com/t/tip-how-to-create-a-global-gitignore-file/1411)

<div class="topic-metadata">

**Author:** [@Josh](https://forum.codeselfstudy.com/u/Josh)\
**Replies:** 0\
**Last updated:** [February 18, 2019, 2:22am UTC](https://forum.codeselfstudy.com/t/tip-how-to-create-a-global-gitignore-file/1411 "2019-02-18T02:22:41Z")

</div>

A quick tip for saving time with Git is to create a global .gitignore file. These instructions should work for Linux or Mac. Step 1 Open a terminal. Step 2 Type this command: $ touch ~/.gitignore\_global Step 3 Add yo…

---

## [Interesting Command Line Tools](https://forum.codeselfstudy.com/t/interesting-command-line-tools/112)

<div class="topic-metadata">

**Author:** [@Josh](https://forum.codeselfstudy.com/u/Josh)\
**Replies:** 0\
**Last updated:** [December 23, 2017, 9:50pm UTC](https://forum.codeselfstudy.com/t/interesting-command-line-tools/112 "2017-12-23T21:50:24Z")

</div>

Here are some interesting tools for people who like to stay in the terminal as much as possible: TIG (Text-mode Interface for Git) This tool lets you navigate your Git logs with Vim keybindings. I use this instead of gi…
