Compare commits
No commits in common. "95062daba7532820052e94dee279e9d70cc0e493" and "b19fb51e6e4475d1b364260d0619919cb68f8e6f" have entirely different histories.
95062daba7
...
b19fb51e6e
1 changed files with 13 additions and 48 deletions
|
@ -1,5 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{pkgs, ...}:{
|
||||||
{
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.gitSVN;
|
package = pkgs.gitSVN;
|
||||||
|
@ -18,27 +17,6 @@
|
||||||
signByDefault = true;
|
signByDefault = true;
|
||||||
};
|
};
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
"branch" = {
|
|
||||||
sort = "-committerdate";
|
|
||||||
};
|
|
||||||
"column" = {
|
|
||||||
ui = "auto";
|
|
||||||
};
|
|
||||||
"commit" = {
|
|
||||||
verbose = "true";
|
|
||||||
};
|
|
||||||
"diff" = {
|
|
||||||
algorithm = "histogram";
|
|
||||||
colorMoved = "plain";
|
|
||||||
mnemonicPrefix = "true";
|
|
||||||
renames = "true";
|
|
||||||
};
|
|
||||||
"tag" = {
|
|
||||||
sort = "version:refname";
|
|
||||||
};
|
|
||||||
"help" = {
|
|
||||||
autocorrect = "promt";
|
|
||||||
};
|
|
||||||
"core" = {
|
"core" = {
|
||||||
pager = "less -F -X";
|
pager = "less -F -X";
|
||||||
};
|
};
|
||||||
|
@ -48,31 +26,18 @@
|
||||||
"pull" = {
|
"pull" = {
|
||||||
rebase = "true";
|
rebase = "true";
|
||||||
};
|
};
|
||||||
"rebase" = {
|
|
||||||
autoSquash = "true";
|
|
||||||
autoStash = "true";
|
|
||||||
updateRefs = "true";
|
|
||||||
};
|
|
||||||
"fetch" = {
|
|
||||||
all = "true";
|
|
||||||
prune = "true";
|
|
||||||
pruneTags = "true";
|
|
||||||
};
|
|
||||||
"push" = {
|
"push" = {
|
||||||
autoSetupRemote = "true";
|
autoSetupRemote = "true";
|
||||||
default = "simple";
|
};
|
||||||
followTags = "true";
|
};
|
||||||
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
aliases = {
|
aliases = {
|
||||||
# checkout-pull-request from GitHub
|
# checkout-pull-request from GitHub
|
||||||
cpr = "!f() { git fetch origin refs/pull/$1/head && git checkout FETCH_HEAD; }; f";
|
cpr = "!f() { git fetch origin refs/pull/$1/head && git checkout FETCH_HEAD; }; f";
|
||||||
};
|
};
|
||||||
|
|
||||||
includes = [
|
includes = [{
|
||||||
{
|
|
||||||
condition = "gitdir:~/denic/";
|
condition = "gitdir:~/denic/";
|
||||||
contents = {
|
contents = {
|
||||||
user = {
|
user = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue