From 3a74fbb974073f0b969e301959fb0ae9d62e0c18 Mon Sep 17 00:00:00 2001 From: vlnko Date: Sat, 3 Jan 2026 15:54:10 +0300 Subject: [PATCH] git-set script create --- README.md | 1 + git-set.sh | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 git-set.sh diff --git a/README.md b/README.md index 16167fd..54958d3 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ - `alacritty-install.sh` Installs alacritty, creates config and installs catpuccin frappe theme - `check-ip.sh` Checks if the public IP address linked to the domain name - `macos-first-install.sh` Installs basic soft I need on a clean machine +- `git-set.sh` Sets git username and email #### Python diff --git a/git-set.sh b/git-set.sh new file mode 100644 index 0000000..c1ef8e4 --- /dev/null +++ b/git-set.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +user="vlnko" +email="laslolnko@gmail.com" + +git config --global credential.helper store +git config --global user.name "$user" +git config --global user.email "$email" + +echo "Git user set to $user and email set to $email" \ No newline at end of file