From e50ca00b5b49d9bcad8de771d90bb41bda2a12e7 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sat, 10 Aug 2024 16:11:08 +0400 Subject: git config added --- Makefile | 6 ++++++ config/gitconfig | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 config/gitconfig diff --git a/Makefile b/Makefile index f7831c1..0079c4e 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ BASHRC=$(HOME)/.bashrc ZSHRC=$(HOME)/.zshrc ZPROFILE=$(HOME)/.zprofile BASHPROFILE=$(HOME)/.bash_profile +GITCONFIG=$(HOME)/.gitconfig COPY=cp -r LINK=ln -sf @@ -32,9 +33,14 @@ config: $(COPY) config/x11 $(CONFDIR) $(COPY) config/zathura $(CONFDIR) $(COPY) config/mimeapps.list $(CONFDIR) + $(LINK) $(CONFDIR)/shell/profile $(BASHPROFILE) $(LINK) $(CONFDIR)/shell/profile $(ZPROFILE) +git: + $(COPY) config/gitconfig $(GITCONFIG) + + scripts: mkdir -p $(BINDIR) $(COPY) scripts/* $(BINDIR) diff --git a/config/gitconfig b/config/gitconfig new file mode 100644 index 0000000..a3c04e5 --- /dev/null +++ b/config/gitconfig @@ -0,0 +1,6 @@ +[init] + defaultBranch = master +[pager] + branch = false +[alias] + pushall = !git remote | xargs -L1 git push --all -- cgit v1.2.3