Github笔记

    xiaoxiao2024-12-03  74

    一 SSH 连接

    参考:https://blog.csdn.net/u013295518/article/details/78746007

    1 创建ssh key

    ssh-keygen -t rsa -C "mail@126.com"

    2 登录github添加

    验证

    ssh -T git@github.com

    3 绑定用户

    $ git config --global user.name "Your Name"   //git logon name$ git config --global user.email "email@example.com"

    二 命令

    git clone https://github.com/Ansonhrj/HelloGithub.git 

    git add helloSunday.txt

    git add .  //跟踪整个工程

    git commit -m "description"  git push origin master

     

     

     

    最新回复(0)