mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-23 06:56:33 +00:00
docs: Add Git page (#14582)
This PR adds a basic Git page to the docs so that we have somewhere to link to from the Git upsell within Zed. Release Notes: - N/A
This commit is contained in:
parent
09c497f744
commit
0556eddc21
3 changed files with 15 additions and 1 deletions
|
@ -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(
|
||||
|
|
|
@ -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)
|
||||
|
|
10
docs/src/git.md
Normal file
10
docs/src/git.md
Normal file
|
@ -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.
|
Loading…
Reference in a new issue