zoukankan      html  css  js  c++  java
  • IDEA上的项目托管到码云步骤

    IDEA上的项目托管到码云步骤:
    1、安装Git
    2、idea上配置Git
        Setting-Version Control-Git
        把git.exe改为安装的Git的执行路径如:D:Program FilesGitcmdgit.exe
        点击Test,Successful即可
    3、idea安装gitee
        启动 idea进入首页
        选择 Configure - Plugins
        选择 Browse repositories...
        搜索 gitee,安装插件
        重启 idea 即可
    4、登录到码云
        Setting-Version Control-Gitee
        如果Auth Type为灰色不能点击,那么就不能用Password登录了,点击Create API Token,弹框后输入用户名密码登录,就会创建一个Token了
        如果Auth Type能点击可以选择Password登录
    5、把项目托管到码云
        VCS-Import into Version Control-Share Project on Gitee
        然后操作就行了
        应该会出现这个错误:
        Can't finish GitHub sharing process
        Successfully created project 'Demo' on GitHub, but initial commit failed:...
        
        解决:
        找到git安装目录下的Git Bash运行后输入下面两行代码(邮箱、用户名改为自己的)即可:
        git config --global user.email "you@example.com"  
        git config --global user.name "Your Name"
        然后再次做提交操作就行了
    6、打开码云上的项目,可能没有提交的代码,按照界面提示操作就行了

    原文也是我的:https://blog.csdn.net/j11j11/article/details/84563045

  • 相关阅读:
    TCP详解——传输控制协议(总述)
    sublime text3使用插件SublimeTextTrans设置透明度
    vue学习1
    js事件绑定/监听
    如何成为顶级程序猿
    HTML5中meta属性
    windows安装SVN服务器并设置开机启动
    oracle安装登录sqlplus / as sysdba然后报错ERROR: ORA-01031 insufficient privileges
    移动端和PC端有什么区别
    div+css通用兼容性代码整理
  • 原文地址:https://www.cnblogs.com/jinghun/p/10090577.html
Copyright © 2011-2022 走看看