fsdg20230625
Leah Rowe 2022-11-15 10:21:57 +00:00
parent cf945dda0c
commit 3f12ef8530
1 changed files with 4 additions and 4 deletions

View File

@ -3,16 +3,16 @@
# SPDX-License-Identifier: GPL-3.0-only
Set_placeholder(){
git config user.name || git config user.name 'osbmkplaceholder'
git config user.email || git config user.email 'placeholder@osbmkplaceholder.com'
git config user.name || git config user.name 'lbmkplaceholder'
git config user.email || git config user.email 'placeholder@lbmkplaceholder.com'
}
Clean(){
if [ "$(git config user.name)" = "osbmkplaceholder" ]; then
if [ "$(git config user.name)" = "lbmkplaceholder" ]; then
git config --unset user.name
fi
if [ "$(git config user.email)" = "placeholder@osbmkplaceholder.com" ]; then
if [ "$(git config user.email)" = "placeholder@lbmkplaceholder.com" ]; then
git config --unset user.email
fi
}