DevOps研发效能
媒体矩阵
开源中国APP
授权协议 Readme
开发语言 JavaScript
操作系统 跨平台
软件类型 开源软件
所属分类 云计算云原生
开源组织
地区 不详
投 递 者 首席测试
适用人群 未知
收录时间 2021-11-10

软件简介

MyDailyLearn

Here is some important commands or code snippets on different topics that I am learning in my developing life.

Table of Contents

Git

  • Configure git
    • Config file locations
    • Configure user's name & email
    • Various important config commands
  • Branching
    • Create new branch
    • Delete branch
    • Quick switch back to previous branch/commit-sha/references etc.
    • Branch listing
    • Rename a branch
    • Track new branch
    • Checkout branch/commit-sha/references/etc. (go forward/backward)
  • Add, Commit, Amend, Pull, Push, Merge & Delete
  • Checkout forward/backward
  • Cherry Pick
  • Stashing
  • Logging
  • Show - more logging
  • Recovery or Reset
    • Reset using reflog
  • Squash
  • Rebase
    • Change the author of an earlier commit
    • Change the commit message of an earlier commit
    • Reordering commits using rebase
    • Rebase options
  • Working with remotes
  • Conflicts
    • e.g. Merging release branch into master and we have 3 folders foo/, bar/, js/. Now want to resolve conflicts such as foo/, bar/ should like master and js/ should like release branch.
  • Git Submodules
  • Some important operations
    • Cleanup garbage in remote repository
    • Prune empty commits
    • Create a new WorkTree and work paralley in the same repo (diffeent branch)
    • Add a signed-off-by field in a commit
    • How to tell git to ignore local changes (already tracked by git)?
    • Generate a Git Hash (SHA1) for specific contents
  • Tag and Releases
  • Fancy Commands
  • Concepts
    • Tracked vs Untrack file
    • GitHub vs Git
    • Commit Object
    • Three areas where code lives
    • Three types of git References
    • Different types of HEAD
    • The Seven Rules of a Great Git Commit Message
    • Difference between HEAD~ and HEAD^

JavaScript

Vanilla JavaScript

Vue

React

Node

Angular

Gulp

Unit Testing

Docker

  • Docker Install (latest or a specific version)
  • Run docker as daemon
  • Remove all containers
  • Remove all images
  • Run an image
  • print log of a container
  • Exec a container
  • Run image with binding port
展开阅读全文

代码

评论

点击引领话题📣 发布并加入讨论🔥
暂无内容
发表了博客
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
发表了问答
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
暂无内容
0 评论
0 收藏
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部