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
Install via [Homebrew](https://brew.sh) (currently macOS only):
13
13
14
14
```sh
15
15
brew tap jamieweavis/gus
@@ -18,26 +18,6 @@ brew install gus
18
18
19
19
## Usage
20
20
21
-
### Help
22
-
23
-
Print usage and package information:
24
-
25
-
```sh
26
-
$ gus
27
-
28
-
gus 1.0.0 (https://github.com/jamieweavis/gus)
29
-
30
-
🐻 Git user switcher for quickly switching between local git users
31
-
32
-
Usage: gus <command>
33
-
34
-
COMMANDS
35
-
<id> Switch to user with the provided ID
36
-
- Switch to the previous user
37
-
list, ls List users and their IDs
38
-
config Open `~/.config/gus.toml`in your $EDITOR
39
-
```
40
-
41
21
### Switch
42
22
43
23
Switch to a user by their ID:
@@ -66,12 +46,32 @@ $ gus ls
66
46
67
47
### Edit
68
48
69
-
Edit your gus config file in your configured shell `$EDITOR` (alternatively you can manually edit the file at `~/.config/gus.toml`, see the [configuration](#configuration) section for more details):
49
+
Edit your gus config file in your configured shell `$EDITOR` (alternatively you can manually edit the file at `~/.config/gus.toml`, see the [Configuration](#configuration) section for more details):
70
50
71
51
```sh
72
52
$ gus edit
73
53
```
74
54
55
+
### Help
56
+
57
+
Print usage and package information:
58
+
59
+
```sh
60
+
$ gus
61
+
62
+
gus 1.0.0 (https://github.com/jamieweavis/gus)
63
+
64
+
Git User Switcher - Simple command line utility for quickly/easily switching between local git users
65
+
66
+
Usage: gus <command>
67
+
68
+
COMMANDS
69
+
<id> Switch to user with the provided ID
70
+
- Switch to the previous user
71
+
list, ls List users and their IDs
72
+
config Open `~/.config/gus.toml`in your $EDITOR
73
+
```
74
+
75
75
## Configuration
76
76
77
77
When you run `gus` for the first time a `~/.config/gus.toml` file is created. This file is used by gus to store your git users and is prepopulated with a your current git user.
@@ -146,17 +146,17 @@ Uninstall the binary from your local crates:
146
146
cargo uninstall gus
147
147
```
148
148
149
-
## Built With
150
-
151
-
-[Rust](https://github.com/rust-lang/rust)
152
-
153
149
## Disclaimer
154
150
155
151
I'm not a Rust engineer, this is just for fun!
156
152
153
+
## Built With
154
+
155
+
-[Rust](https://github.com/rust-lang/rust)
156
+
157
157
## Related
158
158
159
-
-[homebrew-gus](https://github.com/jamieweavis/homebrew-gus) - 🍺 Brew tap & formula for gus
159
+
-[homebrew-gus](https://github.com/jamieweavis/homebrew-gus) - Brew tap & formula for gus - Git User Switcher
0 commit comments