You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/quick-start.md
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,44 @@ These changes improve the clarity and accuracy of the documentation, ensuring th
100
100
3 files changed, 5 insertions(+), 2 deletions(-)
101
101
```
102
102
103
+
### Viewing Repository Information
104
+
105
+
To get a detailed overview of your repository, use:
106
+
107
+
```
108
+
git info
109
+
```
110
+
111
+
This command now displays comprehensive information about your repository, including:
112
+
113
+
- Project name
114
+
- Current branch
115
+
- Latest commit
116
+
- Number of uncommitted changes
117
+
- Remote URL
118
+
- Total number of commits
119
+
- Number of contributors
120
+
- Repository creation time
121
+
- Last modified time
122
+
- Repository size
123
+
- Most active contributor
124
+
- Most changed file
125
+
- Line count by language (if cloc is installed)
126
+
- Latest tag
127
+
- Branch count
128
+
- Untracked files count
129
+
- Submodule information
130
+
- Latest merge commit
131
+
- File type statistics
132
+
133
+
This detailed information provides a thorough understanding of your project's state, history, and composition. It's particularly useful for quickly assessing the repository's overall structure and recent activities.
134
+
135
+
For example:
136
+
137
+

138
+
139
+
> Note: Some features like line count by language require additional tools (e.g., cloc) to be installed.
140
+
103
141
### Other Useful Commands
104
142
105
143
- `git ac`: Add all changes and commit with an AI-generated message
0 commit comments