1
0
forked from extern/nix-config
donovanglover-nix-config/git
Donovan Glover 1023dc4d2f
meta: Replace firefox with librewolf
I am personally not amused by some of the defaults that firefox ships
with and would rather not have to deal with them on new configurations.
Although it's possible to sync settings across devices or simply copy
the profile directory, the advantages of librewolf outweigh the cons for
my individual use case, at least for now.
2022-09-28 11:40:49 -04:00
..
.gitconfig meta: Replace firefox with librewolf 2022-09-28 11:40:49 -04:00
.gitignore stow: Add directories for git, plasma, and systemd 2018-10-22 15:09:58 -04:00
.stow-local-ignore misc: Small fixes 2018-11-28 23:04:00 -05:00
README.md misc: Update wording 2018-11-27 19:02:23 -05:00

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>