git相关命令

git 提交

git config --global user.name "xxxxxxxx"

git config --global user.email "xxxxxx@qq.com"

git config -global

git init

git add .

git commit -m "提交项目一次"

git remote add origin git@github.com:codeCloneMan/xxxx.git

git push -u origin master(git push)

git 配置

ls -al ~/.ssh

ssh-keygen -t rsa -b 4096 -C "xxxxxx@qq.com"

cat ~/.ssh/id_rsa.pub

ssh-keygen -t rsa -C "xxxxxx@qq.com"