CARVIEW |
Select Language
HTTP/2 200
date: Wed, 30 Jul 2025 08:44:25 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/Mubashwer/git-mob.git
etag: W/"53fd06ba417c66434f61af5c0f1808fc"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=Py%2F8ZmPC9xPpC91Fl%2BHRSXEGFs8mYnRD%2F6aB8XC%2F6WBP3KKMU2MF1SyDxQFf%2FtnTuE7kxaa%2FX484Jdvpf%2FfQCI4z%2Be82AZGXY5BL8%2Ff9YzxSK6E1D8jlxJB3Ll1f5JSUharnrVaN8s8oqLpVfOKrbHxirCzRq6CbQ2Jv9WP2jw4t771kRmpGF5awKxo7xmfSUS%2B%2B7W8Ao4W1OdpLyiyrhi6kCmii%2BrU3%2FfhOK51zg1dJ3v33JWQtLRuG2ClLL64JI7y0pjDdXkQBH7GkIWXQxQ%3D%3D--%2Bipd4KdKq%2B7kqeoZ--%2F0K9dqkzsSj5ljabZ2vIag%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.24504293.1753865064; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 08:44:24 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 08:44:24 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BFFC:BC98D:684BDB:813155:6889DB68
feat: make --global the default behavior for setup command (#100) · Mubashwer/git-mob@72a41b9 · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit 72a41b9
authored
feat: make --global the default behavior for setup command (#100)
* feat: make --global the default behavior for setup command
Previously, the setup command required explicit --global or --local flags
and would show help when no arguments were provided. This change makes
--global the default behavior, simplifying the common use case while
maintaining backward compatibility.
Changes:
- Remove arg_required_else_help constraint from Setup command
- Make setup command default to global behavior when no flags specified
- Hide --global flag from help output while keeping it functional for
backward compatibility
- Update command description to clarify global setup is default
- Update all documentation examples from "git mob setup --global" to
"git mob setup"
The --global flag is still accepted but hidden from help output to avoid
confusion while ensuring existing scripts and workflows continue to work.
The --local flag remains unchanged and is only needed for repositories
that override core.hooksPath (e.g., when using husky).
This aligns with user expectations since global setup was the standard
installation method, with local setup being a specialized use case for
repositories with custom hook configurations.
* fix: correct grammar in setup command description1 parent 2ea0d3d commit 72a41b9Copy full SHA for 72a41b9
Expand file treeCollapse file tree
5 files changed
+23
-33
lines changed+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 |
| - | |
| 52 | + | |
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
|
+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
|
+5-7Lines changed: 5 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 | 13 |
| |
15 |
| - | |
| 14 | + | |
16 | 15 |
| |
17 | 16 |
| |
18 |
| - | |
| 17 | + | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 | 31 |
| |
36 | 32 |
| |
| 33 | + | |
| 34 | + | |
37 | 35 |
| |
38 | 36 |
| |
39 | 37 |
| |
|
+5-11Lines changed: 5 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
| 23 | + | |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
| 32 | + | |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
| 81 | + | |
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
| |||
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
176 |
| - | |
| 176 | + | |
177 | 177 |
| |
178 | 178 |
| |
179 | 179 |
| |
180 | 180 |
| |
181 |
| - | |
182 |
| - | |
183 |
| - | |
184 |
| - | |
185 |
| - | |
186 | 181 |
| |
187 | 182 |
| |
188 | 183 |
| |
| |||
209 | 204 |
| |
210 | 205 |
| |
211 | 206 |
| |
212 |
| - | |
| 207 | + | |
213 | 208 |
| |
214 | 209 |
| |
215 | 210 |
| |
216 | 211 |
| |
217 |
| - | |
218 | 212 |
| |
219 | 213 |
| |
220 | 214 |
| |
|
+10-12Lines changed: 10 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
| 33 | + | |
36 | 34 |
| |
37 | 35 |
| |
38 | 36 |
| |
| |||
48 | 46 |
| |
49 | 47 |
| |
50 | 48 |
| |
51 |
| - | |
| 49 | + | |
52 | 50 |
| |
53 | 51 |
| |
54 | 52 |
| |
| |||
63 | 61 |
| |
64 | 62 |
| |
65 | 63 |
| |
66 |
| - | |
| 64 | + | |
67 | 65 |
| |
68 | 66 |
| |
69 | 67 |
| |
| |||
85 | 83 |
| |
86 | 84 |
| |
87 | 85 |
| |
88 |
| - | |
| 86 | + | |
89 | 87 |
| |
90 | 88 |
| |
91 | 89 |
| |
| |||
100 | 98 |
| |
101 | 99 |
| |
102 | 100 |
| |
103 |
| - | |
| 101 | + | |
104 | 102 |
| |
105 | 103 |
| |
106 | 104 |
| |
| |||
118 | 116 |
| |
119 | 117 |
| |
120 | 118 |
| |
121 |
| - | |
| 119 | + | |
122 | 120 |
| |
123 | 121 |
| |
124 | 122 |
| |
| |||
135 | 133 |
| |
136 | 134 |
| |
137 | 135 |
| |
138 |
| - | |
| 136 | + | |
139 | 137 |
| |
140 | 138 |
| |
141 | 139 |
| |
| |||
159 | 157 |
| |
160 | 158 |
| |
161 | 159 |
| |
162 |
| - | |
| 160 | + | |
163 | 161 |
| |
164 | 162 |
| |
165 | 163 |
| |
|
You can’t perform that action at this time.
0 commit comments