git命令
主要 主要命令 Git commit——提交 1git commit Git Branch——分支 现在只要记住使用分支其实就相当于在说:“我想基于这个提交以及它所有的 parent 提交进行新的工作。” 创建分支 1git branch [name] 切换到分支 1git checkout/switch [name] 创建同时切换 1git checkout -b [name] 我们新建一个分支,在其上开发某个新功能,开发完成后再合并回主线 1. Git Merge 它有两个 parent 节点。翻译成自然语言相当于:“我要把这两个 parent 节点本身及它们所有的祖先都包含进来。” 当前在谁就是合并到谁 1git merch [branch name] 2. Git Rebase 取出一系列的提交记录,“复制”它们,然后在另外一个地方逐个的放下去。 1git rebase [沿着谁] 在提交树上移动 HEAD 总是指向当前分支上最近一次提交记录。大多数修改提交树的 Git 命令都是从改变 HEAD 的指向开始的。 1git checkout [指哪] ...
博客常用命令
ai功能 1node scripts/generate-context.js 三件套 123npx hexo clnpx hexo gnpx hexo d Post Front-matter 12345678910111213141516171819202122232425262728293031---title: 文章标题date: 2026-03-08 12:00:00updated: 2026-03-08 12:00:00tags: - 标签1 - 标签2categories: - 分类1 - 分类2keywords: 关键词1,关键词2,关键词3description: 文章简短描述,用于SEOtop_img: /images/article-banner.jpgcomments: truecover: /images/article-cover.jpgtoc: truetoc_number: truetoc_style_simple: falsecopyright: truecopyright_author: 作者名copyright_author_href: ...
OO TB1
Week1 History & Basic edit compile Load+Verify Execute Common Problems file name=class name compile:javac MyProgram.java run:java MyProgram Case sensitive THREE Java comment formats: // single line comment /* many line comments, end with */ /** * comments here go * in a javadoc file */ Define a class,main method (excuted first) 基础语法 Variables Basic data types byte => short => int => long => float => double long-L(不加为int),float-F(不加为d...
I'm here
final?I’m here 终于还是搞了hexo,终于还是下了typora 上一个也没怎么搞好下一个就出来了,哈哈。 无论如何,欢迎我自己登陆—— 耶耶耶
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick Start Create a new post 1$ hexo new "My New Post" More info: Writing Run server 1$ hexo server More info: Server Generate static files 1$ hexo generate More info: Generating Deploy to remote sites 1$ hexo deploy More info: Deployment
