Git 提交项目到GitHub流程及操作
发布日期:2021-05-15 07:13:10 浏览次数:18 分类:精选文章

本文共 2823 字,大约阅读时间需要 9 分钟。

GitHub������������������������������

���������������������������������������������GitHub������������������������

���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������jar������������������������������������������������������������

������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������GitHub���������������������


���������������������������������������

1. ������������

���������������������������������������������github.com������������������������������������"+"���������������������������������������������������������������������������������������������������784238 .

2. ������������������

������������������������������������http������ssh���������������

  • Windows���������������������http������������������������������������
  • Mac/Linux���������������ssh������������������������������������������������������������

SSH������������������

1. ������SSH������

���Windows���

  • ������ Git Bash������������������������������������������GitHub������������
    ssh-keygen -t rsa -C "your.email@example.com"
  • ������������������id_rsa.pub������������������������������������
  • ���Mac/Linux���

  • ������~/.ssh/���������
    cd ~/.ssh/
  • ���������������������������
    ssh-keygen -t rsa -C "your.email@example.com"
  • ������������������������������GitHub������������

  • 2. ���������������������

    ������������������������������������������������������������������������������������������������������������������������������������

  • ������������������������������������������Settings������
  • ���������������������������Teams������������
  • ���������������������������������������������������

  • ���������������������������

    ���������������������������������������������������

  • ������������������������������

    git add .

    ���������������������������������.���

  • ������������������������������

    git commit -m "commit������"

    ���� ��� ������������������������������git commit -a���������������������������������������������

  • ���������������GitHub���

    git push

  • ������������������������

  • ���������������������

    git pull

    ���������������������������������������������������������

  • ���������������

    git clone "������������"

    ������������������������

  • ���������������

    git branch -a

    ������������������������������

  • ���������������

    git delete "������������"

    ������������������������������������GitHub������������������


  • ���������������������GitHub���������������������

    ������������������������������������������������������������������������������������������������������������������������������������������������������������������

    上一篇:CDH 和Ambari之间的优缺点
    下一篇:配置多个maven仓库的方式

    发表评论

    最新留言

    关注你微信了!
    [***.104.42.241]2025年04月17日 08时24分47秒