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

  • 相关阅读:
    vue中的echarts实现宽度自适应
    前端执行vue打包后的dist文件
    nvm的使用和nrm的使用
    element-ui 中让el-container 高度自适应
    QQ登录报错:redirect uri is illegal(100010)
    纯CSS实现table固定thead,tbody进行滚动.html
    js实现垂直向上滚动
    我的 vscode 配置文件!
    CSS实现水平垂直居中的6种方式!
    百度API获取地点经纬度
  • 原文地址:https://www.cnblogs.com/edzjx/p/9260595.html
Copyright © 2011-2022 走看看