1 Star 0 Fork 0

weaver2007/dotfiles

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
add_github_key.sh 326 Bytes
Copy Edit Raw Blame History
#!/bin/bash
[ -f ~/.ssh/id_rsa.pub ] || ssh-keygen -q -f ~/.ssh/id_rsa -N ''
read -p "github username? " username
read -p "github password? " password
curl -u "$username:$password" --data "$(awk '{ printf("{\042title\042:\042%s\042, \042key\042: \042%s\042 }", $3, $0);} ' ~/.ssh/id_rsa.pub)" https://api.github.com/user/keys
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/weaver2007/dotfiles.git
git@gitee.com:weaver2007/dotfiles.git
weaver2007
dotfiles
dotfiles
master

Search