15d7f5e873
- notescraft-lint (rules, safe fixes, learned style) and notescraft-blocks (block model and edits); engine lint.* and block.* commands with CLI and MCP parity - Lint tab, underlines, slash menu with preview in Source and Visual, block grip and menu, Settings > Editor and lint, Vim block keys - Visual view: tables, note embeds, %% comments, wrapping property chips - Vault knowledge (Related tab, assistant sources, Settings) and calendar plugin - Sidebar top padding fixed, dot grid follows PaperCraft spacing, right-card tabs no longer cover the collapse button Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
11 lines
382 B
Markdown
11 lines
382 B
Markdown
---
|
|
tags: [tech]
|
|
---
|
|
# Git cheatsheet
|
|
|
|
## Undo
|
|
To undo the last commit but keep the changes run git reset with the soft flag and HEAD~1. To throw the changes away use the hard flag, but only on work that is not pushed.
|
|
|
|
## Branches
|
|
Create a branch with git switch -c name. Delete a merged branch with git branch -d. Rebase a feature branch on develop before opening a pull request.
|