Git: Difference between revisions

From NixOS Wiki
imported>Krey
Created page with "[https://en.wikipedia.org/wiki/Git_(software) Git] is the version control system (VCS) designed and developed by Linus Torvalds, the creator of the Linux kernel. Git is used t..."
 
imported>Krey
Line 15: Line 15:
== Configuration ==
== Configuration ==


Git can be configured using Home Manager:
Git can be configured using [[Home Manager]]:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">

Revision as of 19:47, 13 January 2018

Git is the version control system (VCS) designed and developed by Linus Torvalds, the creator of the Linux kernel. Git is used to maintain NixOS packages, as well as many other projects, including sources for the Linux kernel.

Installation

Install the git package.

Additional features

Install tk to use the git gui:

git citool

Configuration

Git can be configured using Home Manager:

  programs.git = {
    enable = true;
    userName  = "John Doe";
    userEmail = "johndoe@example.com";
  };