Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Add Git page (#14582)
Marshall Bowers0556eddc21de
diff --git a/crates/extensions_ui/src/extensions_ui.rs b/crates/extensions_ui/src/extensions_ui.rsindex 50e06d0ad82..5aa8855a0d6 100644--- a/crates/extensions_ui/src/extensions_ui.rs+++ b/crates/extensions_ui/src/extensions_ui.rs@@ -940,7 +940,10 @@ impl ExtensionsPage {v_flex().children(self.upsells.iter().enumerate().map(|(ix, feature)| {let upsell = match feature {- Feature::Git => FeatureUpsell::new("Zed comes with basic Git support for diffs and branches. More Git features are coming in the future."),+ Feature::Git => FeatureUpsell::new(+ "Zed comes with basic Git support. More Git features are coming in the future.",+ )+ .docs_url("https://zed.dev/docs/git"),Feature::Vim => FeatureUpsell::new("Vim support is built-in to Zed!").docs_url("https://zed.dev/docs/vim").child(CheckboxWithLabel::new(diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.mdindex 3eea2907dc5..743ada36fd3 100644--- a/docs/src/SUMMARY.md+++ b/docs/src/SUMMARY.md@@ -20,6 +20,7 @@- [Assistant Panel](./assistant-panel.md)- [Channels](./channels.md)- [Collaboration](./collaboration.md)+- [Git](./git.md)- [Tasks](./tasks.md)- [Remote Development](./remote-development.md)- [REPL](./repl.md)diff --git a/docs/src/git.md b/docs/src/git.mdnew file mode 100644index 00000000000..c1768a04ed3--- /dev/null+++ b/docs/src/git.md@@ -0,0 +1,10 @@+# Git++Zed currently supports the following Git features:++- Diff indicators in buffers and editor scrollbars+- Git status in the project panel+- Branch creating and switching+- Git blame viewing++More advanced Git features—like staging and committing changes or viewing history within Zed—will be coming in the future.