zoukankan      html  css  js  c++  java
  • git

    push 推送至远程
    git config --global user.name git config --global user.email
    git init //as里是VCS-enable version control integration,选择git
    git add readme.txt//右击项目git-add
    git commit -m "wrote a readme file"//右击项目 git-commit
    git remote add origin https://git.coding.net/edzjx/MyApplication.git //VCS-Git-Romotes 添加远程git地址
    git pull origin master //vcs-git-pull 先拉一次
    git pull origin master --allow-unrelated-histories //不知道如何手动添加参数,最后手动在as的命令行Terminal里操作
    git push -u origin master//VSC-Git-push


    pull从远程拉取,或者叫做更新代码

    git branch --set-upstream-to=origin/master master  //手动执行命令建立track  orgin/master 是远程分支  master是本地分支。执行的结果会提示入“Branch 'master' set up to track remote branch 'master' from 'origin'.”

    git pull //vcs-git-pull 关联后可以让远程分支与本地分支融合merge

  • 相关阅读:
    Double-Array Trie 原理解析
    LeetCode 之 Longest Valid Parentheses(栈)
    [Unity3D]Unity3D游戏开发之从Unity3D到Eclipse
    走进Struts2(一) — Struts2的执行流程及其工作原理
    网页页面NULL值对浏览器兼容性的影响
    基于cocos2d-x-3.2学习Box2D(一)
    记忆方法与高速阅读——什么是高速阅读
    ArcGIS 教程:Workflow Manager 高速浏览
    【cocos2d-x 3.7 飞机大战】 决战南海I (三) 敌机实现
    C语言事实上不简单:数组与指针
  • 原文地址:https://www.cnblogs.com/edzjx/p/9260595.html
Copyright © 2011-2022 走看看