gitconfig
This commit is contained in:
parent
cbbea267a8
commit
fe8561dac7
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ hostname="$(cat /etc/hostname)"
|
||||||
[[ -z "${userpass}" ]] && userpass="user1"
|
[[ -z "${userpass}" ]] && userpass="user1"
|
||||||
|
|
||||||
function gitclone() {
|
function gitclone() {
|
||||||
|
git config --global core.editor "nano"
|
||||||
|
git config --global user.email "user1@spectreos.de"
|
||||||
|
git config --global user.name "user1"
|
||||||
|
git config --global push.default simple
|
||||||
if ! [ -f "/root/.ssh/id_rsa.pub" ]; then
|
if ! [ -f "/root/.ssh/id_rsa.pub" ]; then
|
||||||
ssh-keygen -b 4096
|
ssh-keygen -b 4096
|
||||||
rootrechte
|
rootrechte
|
||||||
|
|
Loading…
Reference in a new issue