Skip to content
代码片段 群组 项目
提交 5a2009e9 编辑于 作者: Missy Davies's avatar Missy Davies
浏览文件

Switch name and email config

上级 733241c9
No related branches found
No related tags found
无相关合并请求
...@@ -9,7 +9,7 @@ read -r name </dev/tty ...@@ -9,7 +9,7 @@ read -r name </dev/tty
echo "What is your e-mail address?" echo "What is your e-mail address?"
read -r email </dev/tty read -r email </dev/tty
git remote set-url --push origin git@gitlab.com:gitlab-community/gitlab.git git remote set-url --push origin git@gitlab.com:gitlab-community/gitlab.git
git config --global user.email "$name" git config --global user.email "$email"
git config --global user.name "$email" git config --global user.name "$name"
echo "Please add this key to your profile https://gitlab.com/-/profile/keys" echo "Please add this key to your profile https://gitlab.com/-/profile/keys"
cat ~/.ssh/id_ed25519.pub cat ~/.ssh/id_ed25519.pub
\ No newline at end of file
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册