git-copilot-commit 0.1.5__tar.gz → 0.1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {git_copilot_commit-0.1.5 → git_copilot_commit-0.1.6}/PKG-INFO +7 -3
- {git_copilot_commit-0.1.5 → git_copilot_commit-0.1.6}/README.md +6 -2
- {git_copilot_commit-0.1.5 → git_copilot_commit-0.1.6}/pyproject.toml +1 -1
- {git_copilot_commit-0.1.5 → git_copilot_commit-0.1.6}/src/git_copilot_commit/cli.py +5 -2
- {git_copilot_commit-0.1.5 → git_copilot_commit-0.1.6}/uv.lock +1 -1
- {git_copilot_commit-0.1.5 → git_copilot_commit-0.1.6}/.github/workflows/ci.yml +0 -0
- {git_copilot_commit-0.1.5 → git_copilot_commit-0.1.6}/.gitignore +0 -0
- {git_copilot_commit-0.1.5 → git_copilot_commit-0.1.6}/.python-version +0 -0
- {git_copilot_commit-0.1.5 → git_copilot_commit-0.1.6}/LICENSE +0 -0
- {git_copilot_commit-0.1.5 → git_copilot_commit-0.1.6}/src/git_copilot_commit/__init__.py +0 -0
- {git_copilot_commit-0.1.5 → git_copilot_commit-0.1.6}/src/git_copilot_commit/git.py +0 -0
- {git_copilot_commit-0.1.5 → git_copilot_commit-0.1.6}/src/git_copilot_commit/py.typed +0 -0
- {git_copilot_commit-0.1.5 → git_copilot_commit-0.1.6}/src/git_copilot_commit/settings.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: git-copilot-commit
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.6
|
|
4
4
|
Summary: Automatically generate and commit changes using copilot
|
|
5
5
|
Author-email: Dheepak Krishnamurthy <1813121+kdheepak@users.noreply.github.com>
|
|
6
6
|
License-File: LICENSE
|
|
@@ -33,8 +33,6 @@ Install using uv (recommended):
|
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
35
|
uv tool install git-copilot-commit
|
|
36
|
-
# or
|
|
37
|
-
uvx git-copilot-commit
|
|
38
36
|
```
|
|
39
37
|
|
|
40
38
|
Or with pip:
|
|
@@ -43,6 +41,12 @@ Or with pip:
|
|
|
43
41
|
pipx install git-copilot-commit
|
|
44
42
|
```
|
|
45
43
|
|
|
44
|
+
Or without installing:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
uvx git-copilot-commit --help
|
|
48
|
+
```
|
|
49
|
+
|
|
46
50
|
## Prerequisites
|
|
47
51
|
|
|
48
52
|
**GitHub Copilot Access**: You need an active GitHub Copilot subscription
|
|
@@ -20,8 +20,6 @@ Install using uv (recommended):
|
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
22
|
uv tool install git-copilot-commit
|
|
23
|
-
# or
|
|
24
|
-
uvx git-copilot-commit
|
|
25
23
|
```
|
|
26
24
|
|
|
27
25
|
Or with pip:
|
|
@@ -30,6 +28,12 @@ Or with pip:
|
|
|
30
28
|
pipx install git-copilot-commit
|
|
31
29
|
```
|
|
32
30
|
|
|
31
|
+
Or without installing:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
uvx git-copilot-commit --help
|
|
35
|
+
```
|
|
36
|
+
|
|
33
37
|
## Prerequisites
|
|
34
38
|
|
|
35
39
|
**GitHub Copilot Access**: You need an active GitHub Copilot subscription
|
|
@@ -162,11 +162,13 @@ Return the commit message as the output without any additional text, explanation
|
|
|
162
162
|
{recent_commits_text}
|
|
163
163
|
|
|
164
164
|
`git status`:
|
|
165
|
+
|
|
165
166
|
```
|
|
166
167
|
{status.get_porcelain_output()}
|
|
167
168
|
```
|
|
168
169
|
|
|
169
170
|
`git diff --staged`:
|
|
171
|
+
|
|
170
172
|
```
|
|
171
173
|
{status.staged_diff}
|
|
172
174
|
```
|
|
@@ -243,10 +245,11 @@ def commit(
|
|
|
243
245
|
raise typer.Exit()
|
|
244
246
|
|
|
245
247
|
# Generate or use provided commit message
|
|
246
|
-
console.
|
|
247
|
-
with console.status("[cyan]Generating commit message using Copilot API...[/cyan]"):
|
|
248
|
+
with console.status("[cyan]Generating commit message...[/cyan]"):
|
|
248
249
|
commit_message = generate_commit_message(repo, status, model)
|
|
249
250
|
|
|
251
|
+
console.print("[cyan]Generated commit message...[/cyan]")
|
|
252
|
+
|
|
250
253
|
# Display commit message
|
|
251
254
|
console.print(Panel(commit_message, title="Commit Message", border_style="green"))
|
|
252
255
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|