Navigation

    BAGA.OL

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    git remote操作

    博客
    1
    1
    749
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lichade
      lichade last edited by

      1.添加远程版本库
      在bec项目目录下执行一下命令:
      git remote add baga https://gitlab.xxxx/project.git

      2.在用一下命令查看是否添加成功:
      git remote -v

      3.推送代码到远程仓库:
      git push baga

      1 Reply Last reply Reply Quote
      • First post
        Last post