mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 21:03:59 +01:00
4fdf375a17
This fixes an issue where Japanese and other non-English file names would be escaped when using commands like git diff. Reference: https://stackoverflow.com/questions/34549040/ |
||
---|---|---|
.. | ||
.gitconfig | ||
.gitignore | ||
.stow-local-ignore | ||
README.md |
Git
Git is the standard version control tool.
Use Cases
Git can be used to:
- Keep track of file changes over time
- Keep a record of all contributors to a code base
- Rollback to a previous version of a project
- Create snapshots of a project with tags (also known as versions)
You should not use Git if:
- You are dealing with binary files
- You are dealing with large files that change often
Usage
First, install diff-so-fancy, an amazing git diff utility.
Then, create a ~/.gituser
with the following:
[user]
name = <the name you use for git commits>
email = <the email you use for git commits>
signingkey = <the subkey you use to sign git commits>