Skip to content

Commit 48cf019

Browse files
devvaannshabose
authored andcommitted
refactor: getting started heading to make navigation easier for users
1 parent c081e5f commit 48cf019

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed

docs/07-Features/04-git.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,58 +5,45 @@ title: Git
55
import React from 'react';
66
import VideoPlayer from '@site/src/components/Video/player';
77

8+
## Getting Started with Git in Phoenix Code
9+
810
**Phoenix Code** includes built-in Git support, allowing you to manage version control directly within the editor. Git can be accessed from the toolbar icon or the File menu in the menu bar.
911

1012
![Git Overview](./images/git-images/git-overview.png "Git Overview")
1113

1214
> To use Git features inside Phoenix Code, ensure Git is installed on your computer. [Download Git](https://git-scm.com/downloads)
1315
14-
Note: *For projects without an existing Git repository, the Git icon won’t appear by default. To initialize or connect a Git repository, use the File menu to set up Git for your project.*
15-
16-
The Git Panel in **Phoenix Code** provides a simple interface for managing version control. It allows you to track changes, commit updates, interact with remote repositories and many more without leaving the editor.
17-
18-
![Git Panel](./images/git-images/git-panel.png "Git Panel")
19-
20-
21-
22-
## Initializing a Git repository
23-
24-
To initialize a Git repository in a project that doesn’t already have one, click on `File > Git > Init`. This will set up Git for your current project. After initialization, the Git icon will appear in the toolbar, indicating that version control is active.
25-
26-
![Git Init](./images/git-images/git-init.png "Git Init")
27-
28-
29-
30-
## Cloning a Git repository
3116

32-
You can easily clone an existing project directly within the editor.
17+
### Cloning a Repository
3318

34-
### Suggested Method
19+
To clone an existing repository in **Phoenix Code**, follow these steps:
3520

3621
1. Click on the `Start Project` button.
3722

3823
![Start Project](./images/git-images/start-project.png "Start Project")
24+
> This will open the Quick Start project dialog box, which offers various options. [Read more](../05-quick-start-project.md) about Quick Start project here.
3925
40-
> This will open the Quick Start project dialog box, with various options. [Read more](../05-quick-start-project.md) about Quick Start project here.
41-
42-
2. Select the `Get from Git` button.
26+
2. Select `Get from Git`.
4327

4428
![Get from Git](./images/git-images/get-from-git.png "Get from Git")
4529

46-
A dialog box will appear asking you to enter the `Git Clone URL` and the `Location` where you want to clone the repository. Fill in the URL of the project and select the location on your machine.
30+
3. Enter the *Git Clone URL* and choose a *location* to save the project.
4731

4832
![Get from Git dialog](./images/git-images/get-from-git-dialog.png "Get from Git dialog")
4933

50-
3. Click on `Create Project`. This will clone the repository to the location you specified.
34+
4. Click `Create Project`. The repository will be cloned to the specified location.
35+
5136

37+
### Alternative Cloning Method
5238

53-
### Alternative Method
39+
You can also clone a repository through the menu:
5440

55-
Go to `File > Git > Clone`. A dialog will appear, prompting you to enter the URL of the repository you wish to clone.
41+
1. Go to `File > Git > Clone`.
42+
2. Enter the repository URL in the dialog that appears.
5643

5744
![Git Clone](./images/git-images/git-clone-dialog.png "Git Clone")
5845

59-
### More Options
46+
#### More Options
6047

6148
In the Clone Repository dialog, clicking on `More Options` expands additional settings for authentication.
6249

@@ -69,6 +56,19 @@ In the Clone Repository dialog, clicking on `More Options` expands additional se
6956
*If cloning fails due to authentication issues (e.g., timeout errors), you might need to manually provide your credentials.*
7057

7158

59+
### Initializing a Git repository
60+
61+
To initialize a Git repository in a project that doesn’t already have one, click on `File > Git > Init`. This will set up Git for your current project. After initialization, the Git icon will appear in the toolbar, indicating that version control is active.
62+
63+
![Git Init](./images/git-images/git-init.png "Git Init")
64+
65+
> Note: *For projects without an existing Git repository, the Git icon won’t appear by default. To initialize or connect a Git repository, use the File menu to set up Git for your project.*
66+
67+
Once Git is set up, the Git Panel provides a user-friendly interface to manage version control. You can track changes, commit updates, interact with remote repositories, and more—all within the editor.
68+
69+
![Git Panel](./images/git-images/git-panel.png "Git Panel")
70+
71+
7272

7373
## File status
7474

17.5 KB
Loading

0 commit comments

Comments
 (0)