mirror of
https://github.com/daveberrys/guh.git
synced 2026-11-29 00:26:46 +08:00
update readme with icons, update documentation
This commit is contained in:
1 parent
b9025c6f7e
commit
a74f1e38cc
4 files changed
+87
-2
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
@@ -0,0 +1,10 @@
|
|||||||
|
<svg width="725" height="725" viewBox="0 0 725 725" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M684.479 322.441L401.637 39.598C379.767 17.7286 344.31 17.7286 322.441 39.598L147 215.039L39.598 322.441C17.7286 344.31 17.7286 379.767 39.598 401.637L322.441 684.479C344.31 706.349 379.767 706.349 401.637 684.479L684.479 401.637C706.349 379.767 706.349 344.31 684.479 322.441Z" fill="#F03C2E"/>
|
||||||
|
<ellipse cx="49" cy="50" rx="49" ry="50" transform="matrix(4.37114e-08 1 1 -4.37114e-08 313.039 136.039)" fill="white"/>
|
||||||
|
<ellipse cx="49" cy="49.5" rx="49" ry="49.5" transform="matrix(4.37114e-08 1 1 -4.37114e-08 313.039 490.039)" fill="white"/>
|
||||||
|
<circle cx="49" cy="49" r="49" transform="matrix(4.37114e-08 1 1 -4.37114e-08 166.039 275.039)" fill="white"/>
|
||||||
|
<circle cx="509.572" cy="324.129" r="49" transform="rotate(90 509.572 324.129)" fill="white"/>
|
||||||
|
<rect width="48.246" height="328.303" transform="matrix(-1 -8.74228e-08 -8.74228e-08 1 387.285 198.039)" fill="white"/>
|
||||||
|
<rect width="48.246" height="218.488" transform="matrix(-0.707107 -0.707107 -0.707107 0.707107 396.572 185.063)" fill="white"/>
|
||||||
|
<rect x="328.039" y="185.154" width="48.246" height="218.488" transform="rotate(-45 328.039 185.154)" fill="white"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -6,13 +6,21 @@
|
|||||||
- [`account`](#account)
|
- [`account`](#account)
|
||||||
- [`account save`](#account-save)
|
- [`account save`](#account-save)
|
||||||
- [`account switch`](#account-switch)
|
- [`account switch`](#account-switch)
|
||||||
|
- [`account edit`](#account-edit)
|
||||||
- [`branch`](#branch)
|
- [`branch`](#branch)
|
||||||
- [`branch create`](#branch-create)
|
- [`branch create`](#branch-create)
|
||||||
- [`branch switch`](#branch-switch)
|
- [`branch switch`](#branch-switch)
|
||||||
- [`branch rename`](#branch-rename)
|
- [`branch rename`](#branch-rename)
|
||||||
|
- [`branch delete`](#branch-delete)
|
||||||
- [`browse`](#browse)
|
- [`browse`](#browse)
|
||||||
- [`browse issues`](#browse-issues)
|
- [`browse issues`](#browse-issues)
|
||||||
- [`browse pr`](#browse-pr)
|
- [`browse pr`](#browse-pr)
|
||||||
|
- [`cli`](#cli)
|
||||||
|
- [`cli install`](#cli-install)
|
||||||
|
- [`cli remove`](#cli-remove)
|
||||||
|
- [`cli update`](#cli-update)
|
||||||
|
- [`cli version`](#cli-version)
|
||||||
|
- [`clone`](#clone)
|
||||||
- [`commit`](#commit)
|
- [`commit`](#commit)
|
||||||
- [`diff`](#diff)
|
- [`diff`](#diff)
|
||||||
- [`init`](#init)
|
- [`init`](#init)
|
||||||
@@ -60,6 +68,16 @@ guh account switch <username>
|
|||||||
|
|
||||||
Sets `credential.helper` to `store`, updates `user.name` and `user.email` in global git config, and overwrites `~/.git-credentials` with the stored token. The account must have been saved with `guh account save` first.
|
Sets `credential.helper` to `store`, updates `user.name` and `user.email` in global git config, and overwrites `~/.git-credentials` with the stored token. The account must have been saved with `guh account save` first.
|
||||||
|
|
||||||
|
### `account edit`
|
||||||
|
|
||||||
|
Edit accounts.json via the supported code editor
|
||||||
|
|
||||||
|
```
|
||||||
|
guh account edit
|
||||||
|
```
|
||||||
|
|
||||||
|
Opens the supported code editor; "nano", "code", "zed", "zeditor", "vi", "vim", "emacs", "notepad.exe"
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## `branch`
|
## `branch`
|
||||||
@@ -95,6 +113,16 @@ guh branch rename <name>
|
|||||||
|
|
||||||
Equivalent to `git branch -m <name>`.
|
Equivalent to `git branch -m <name>`.
|
||||||
|
|
||||||
|
### `branch delete`
|
||||||
|
|
||||||
|
Delete the selected branch.
|
||||||
|
|
||||||
|
```
|
||||||
|
guh branch delete <branch>
|
||||||
|
```
|
||||||
|
|
||||||
|
Equivalent to `git branch -D <branch>`.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## `browse`
|
## `browse`
|
||||||
@@ -133,6 +161,44 @@ guh browse print
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## `cli`
|
||||||
|
|
||||||
|
### `cli install`
|
||||||
|
Installs `guh` binary to your system directly with env variable.
|
||||||
|
|
||||||
|
```
|
||||||
|
guh cli install
|
||||||
|
```
|
||||||
|
|
||||||
|
### `cli remove`
|
||||||
|
Deletes `guh` binary in your system with the env variable.
|
||||||
|
|
||||||
|
```
|
||||||
|
guh cli remove
|
||||||
|
```
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> Windows' permission issue may cause it to not delete. We have provided a command for you to delete through the terminal for you to run. We can't do anything about it because of *cough* windows
|
||||||
|
|
||||||
|
### `cli update`
|
||||||
|
Updates `guh` binary in your system.
|
||||||
|
|
||||||
|
```
|
||||||
|
guh cli update
|
||||||
|
```
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> Windows' permission issue may cause it to not update. We have provided a command for you to update through the terminal for you to run. We can't do anything about it because of *cough* windows
|
||||||
|
|
||||||
|
### `cli version`
|
||||||
|
Shows your `guh` binary hash[:7] version through git's commit.
|
||||||
|
|
||||||
|
```
|
||||||
|
guh cli version
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## `commit`
|
## `commit`
|
||||||
|
|
||||||
Add files and commit changes. Shows `git status --short` before committing. Optionally pushes after commit.
|
Add files and commit changes. Shows `git status --short` before committing. Optionally pushes after commit.
|
||||||
|
|||||||
@@ -1,5 +1,14 @@
|
|||||||
# GUH (Git Utility(For) Helper(Noobs))
|
<div style="display: flex; gap: 15px;">
|
||||||
Want to use the Git CLI and don't want to use the GitHub Desktop because you're "too cool"? But you don't know how to even use the git CLI? We've got you covered.
|
<div>
|
||||||
|
<img src=".github/readme/Guh.svg" width="128" height="128" alt="Guh">
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h1 style="color: #F03C2E;"> GUH (Git Utility(For) Helper(Noobs)) </h1>
|
||||||
|
<span>Want to use the Git CLI and don't want to use the GitHub Desktop because you're "too cool"? But you don't know how to even use the git CLI? We've got you covered.</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
This tool is a simple CLI tool that wraps the git CLI (from `os/exec`) and provides a simple command-line interface for new Git CLI users.
|
This tool is a simple CLI tool that wraps the git CLI (from `os/exec`) and provides a simple command-line interface for new Git CLI users.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user