zoukankan      html  css  js  c++  java
  • git 中文文档 及测试命令

    git 使用官方中文文档

    https://git-scm.com/book/zh/v2/

    或者你在github上只填写一个仓库名称点击创建后会跳转一个页面给出参考命令如下

    1 echo "# webpackstart" >> README.md
    2 git init
    3 git add README.md
    4 git commit -m "first commit"
    5 git remote add origin `仓库github地址`
    6 git push -u origin master

    下面是在本地命令

    一般我们还会在这个仓库的根目录下创建一个.gitignore文件,用来忽略node_modules中文文件

    1 git init
    2 git status //查看文件状态未加入为红色
    3 git add -A//添加所有文件
    4 git status //此时文件状态为绿色
    5 git commit -m '此处填写版本日志,更新'
    6 git log //可以查看到push的git版本信息
    7 git remote add origin '仓库地址'
    8 git push -u origin master
    
    
    学习记录,望指点学习,谢谢!
  • 相关阅读:
    ubuntu android jdk问题
    android adb ubuntu问题
    常用命令
    svn info
    TaskRecord分析
    moveTasktoBack 把当前任务放入后台
    WatchDog机制
    双系统安装
    制作安装U盘
    android 小游戏 ---- 数独(二)
  • 原文地址:https://www.cnblogs.com/herewego/p/9280961.html
Copyright © 2011-2022 走看看