Giter VIP home page Giter VIP logo

reactnative's Introduction

Top Langs

🛠 Tech Stack

JavaScript TypeScript

Node.js Vue React NestJs Vite Nuxt Git GitHub Docker

JavaScript工具:

  1. ESLint,代码格式
  2. Lodash.js,功能齐全并且很强大的JavaScript工具库,精简代码;
  3. TypeScript,静态类型

Git 提交规范:

  • feat 增加新功能
  • fix 修复问题/BUG
  • Optimize:需要填写对应需求来源
  • style 代码风格相关无影响运行结果的
  • perf 优化/性能提升
  • refactor 重构
  • revert 撤销修改
  • test 测试相关
  • docs 文档/注释
  • chore 依赖更新/脚手架配置修改等
  • workflow 工作流改进
  • ci 持续集成
  • types 类型定义文件更改
  • wip 开发中

Git 生僻的命令:

  • git update-index --assume-unchanged 文件路径,暂时忽略文件的变更
  • git reset --hard 目标版本号:将版本回退
  • git merge targetbranch:将targetbranch合并到当前分支

Linux命令:

  • scp /path/to/local/file username@server:/path/to/server/directory 终端命令上传文件至服务器

reactnative's People

Contributors

duxinyues avatar

Watchers

 avatar

reactnative's Issues

git

记录
git reflog 查看和编辑引用日志
git log -g 查看引用日志的历史记录
git log --since=2.weeks 查询两周内的提交记录
git log --author 查询某个用户的提交记录
git log --grep="搜索信息" 搜索提交信息
git log --first-parent 查看当前元素的第一个父对象
git log --max-parents=0 查询项目的起点
提交
git add 对更新文件进行暂存,为它们添加快照【文件当前的状态】
git commit 创建一个新的修订,把存放在暂存区的文件信息作为修订版本永久存放到本地版本库中。
git commit -m "提交信息" 编辑提交的信息
git status 查询已变更但未提交的文件
git diff 查看用户编辑但未将其暂存的文件
git diff HEAD 比较当前的工作目录和最近一次提交的修订之前的差异
分支
git branch 创建一个新分支【不带参数时,该命令查询分支列表】
git checkout -b string 切换到新建的分支上
git symbolic -ref HEAD 获取当前分支名称
git rev-parse HEAD 找到当前提交的SHA-1码
git show-ref 或者 git for-each-ref 显示所有分支
git branch --list 显示分支列表
git remote show 显示远程版本库的信息,包含远程分支的查询

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.