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

  • 相关阅读:
    从DataGridViewer导出Excel
    C#获取特定进程CPU和内存使用率
    51 nod 1265 四点共面
    51nod 1384 全排列
    51nod 2006 飞行员配对
    codeforces 839A
    codeforce 837C
    codeforces 837B
    codoforces 837A
    GIT
  • 原文地址:https://www.cnblogs.com/edzjx/p/9260595.html
Copyright © 2011-2022 走看看