@sebastienrousseau/dotfiles 0.2.459 → 0.2.460

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.
Files changed (108) hide show
  1. package/README.md +5 -5
  2. package/dist/Makefile +13 -13
  3. package/dist/bin/backup.js.map +1 -1
  4. package/dist/bin/constants.d.ts +2 -2
  5. package/dist/bin/constants.js +1 -1
  6. package/dist/bin/download.js.map +1 -1
  7. package/dist/bin/transfer.js.map +1 -1
  8. package/dist/bin/unpack.js.map +1 -1
  9. package/dist/filesizes.txt +63 -63
  10. package/dist/lib/aliases/default/default.aliases.sh +1 -1
  11. package/dist/lib/aliases/gcloud/gcloud.aliases.sh +116 -117
  12. package/dist/lib/aliases/git/git.aliases.sh +2 -43
  13. package/dist/lib/aliases/heroku/heroku.aliases.sh +673 -673
  14. package/dist/lib/aliases/jekyll/jekyll.aliases.sh +26 -26
  15. package/dist/lib/aliases/pnpm/pnpm.aliases.sh +36 -36
  16. package/dist/lib/aliases/subversion/subversion.aliases.sh +80 -80
  17. package/dist/lib/aliases/tmux/tmux.aliases.sh +1 -1
  18. package/dist/lib/aliases.sh +1 -1
  19. package/dist/lib/configurations/bash/bashrc +2 -2
  20. package/dist/lib/configurations/curl/curlrc +1 -1
  21. package/dist/lib/configurations/default/color.sh +1 -1
  22. package/dist/lib/configurations/default/constants.sh +6 -4
  23. package/dist/lib/configurations/default/editor.sh +1 -1
  24. package/dist/lib/configurations/default/prompt.sh +1 -1
  25. package/dist/lib/configurations/input/inputrc +1 -1
  26. package/dist/lib/configurations/nano/nanorc +1 -1
  27. package/dist/lib/configurations/profile/profile +1 -1
  28. package/dist/lib/configurations/tmux/default +1 -1
  29. package/dist/lib/configurations/tmux/display +1 -1
  30. package/dist/lib/configurations/tmux/linux +1 -1
  31. package/dist/lib/configurations/tmux/navigation +1 -1
  32. package/dist/lib/configurations/tmux/panes +1 -1
  33. package/dist/lib/configurations/tmux/theme +2 -2
  34. package/dist/lib/configurations/tmux/tmux +1 -1
  35. package/dist/lib/configurations/tmux/vi +1 -1
  36. package/dist/lib/configurations/vim/vimrc +1 -1
  37. package/dist/lib/configurations/wget/wgetrc +1 -1
  38. package/dist/lib/configurations/zsh/zshrc +2 -2
  39. package/dist/lib/configurations.sh +1 -1
  40. package/dist/lib/exit.sh +1 -1
  41. package/dist/lib/functions/cdls.sh +1 -1
  42. package/dist/lib/functions/changediskpwd.tmp +1 -3
  43. package/dist/lib/functions/code.tmp +1 -3
  44. package/dist/lib/functions/countdown.tmp +1 -1
  45. package/dist/lib/functions/curlheader.sh +2 -2
  46. package/dist/lib/functions/curltime.sh +3 -4
  47. package/dist/lib/functions/encode64.sh +1 -1
  48. package/dist/lib/functions/environment.sh +2 -3
  49. package/dist/lib/functions/extract.sh +1 -1
  50. package/dist/lib/functions/genpwd.sh +6 -6
  51. package/dist/lib/functions/goto.sh +1 -1
  52. package/dist/lib/functions/hidehiddenfiles.sh +1 -1
  53. package/dist/lib/functions/history-all.tmp +1 -1
  54. package/dist/lib/functions/hostinfo.sh +1 -1
  55. package/dist/lib/functions/hstats.sh +2 -2
  56. package/dist/lib/functions/httpdebug.sh +1 -1
  57. package/dist/lib/functions/keygen.sh +1 -1
  58. package/dist/lib/functions/last.sh +1 -1
  59. package/dist/lib/functions/logout.sh +1 -1
  60. package/dist/lib/functions/lowercase.sh +16 -17
  61. package/dist/lib/functions/macos.sh +14 -15
  62. package/dist/lib/functions/matrix.sh +1 -1
  63. package/dist/lib/functions/mcd.sh +1 -1
  64. package/dist/lib/functions/mount_read_only.sh +1 -1
  65. package/dist/lib/functions/myproc.sh +1 -1
  66. package/dist/lib/functions/prependpath.sh +2 -2
  67. package/dist/lib/functions/print.tmp +1 -1
  68. package/dist/lib/functions/ql.sh +1 -1
  69. package/dist/lib/functions/rd.sh +3 -3
  70. package/dist/lib/functions/remove_disk.sh +2 -2
  71. package/dist/lib/functions/ren.sh +1 -1
  72. package/dist/lib/functions/rm.tmp +1 -1
  73. package/dist/lib/functions/rps.tmp +1 -1
  74. package/dist/lib/functions/showhiddenfiles.sh +1 -1
  75. package/dist/lib/functions/size.sh +1 -1
  76. package/dist/lib/functions/stopwatch.sh +1 -1
  77. package/dist/lib/functions/trash.tmp +1 -1
  78. package/dist/lib/functions/tree.tmp +1 -1
  79. package/dist/lib/functions/uppercase.sh +16 -17
  80. package/dist/lib/functions/view-source.sh +2 -3
  81. package/dist/lib/functions/vscode.sh +1 -2
  82. package/dist/lib/functions/whoisport.sh +1 -1
  83. package/dist/lib/functions/zipf.sh +2 -2
  84. package/dist/lib/functions.sh +1 -1
  85. package/dist/lib/history.sh +22 -22
  86. package/dist/lib/paths/ant/ant.paths.sh +1 -1
  87. package/dist/lib/paths/default/default.paths.sh +10 -10
  88. package/dist/lib/paths/homebrew/homebrew.paths.sh +1 -1
  89. package/dist/lib/paths/java/java.paths.sh +1 -1
  90. package/dist/lib/paths/maven/maven.paths.sh +1 -1
  91. package/dist/lib/paths/node/node.paths.sh +1 -1
  92. package/dist/lib/paths/nvm/nvm.paths.sh +1 -1
  93. package/dist/lib/paths/pnpm/pnpm.paths.sh +1 -1
  94. package/dist/lib/paths/python/python.paths.sh +3 -3
  95. package/dist/lib/paths/ruby/ruby.paths.sh +1 -1
  96. package/dist/lib/paths/tmux/tmux.paths.sh +1 -1
  97. package/dist/lib/paths.sh +1 -1
  98. package/dist/scripts/backup.sh +8 -3
  99. package/dist/scripts/banner.sh +1 -1
  100. package/dist/scripts/{assemble.sh → build.sh} +10 -3
  101. package/dist/scripts/clean.sh +1 -1
  102. package/dist/scripts/compile.sh +1 -1
  103. package/dist/scripts/copy.sh +2 -2
  104. package/dist/scripts/dotfiles.sh +1 -1
  105. package/dist/scripts/download.sh +14 -4
  106. package/dist/scripts/help.sh +3 -3
  107. package/dist/scripts/unpack.sh +1 -1
  108. package/package.json +1 -1
@@ -1,121 +1,120 @@
1
1
  #!/usr/bin/env bash
2
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.459) - https://dotfiles.io
2
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
6
- # 🅶🅲🅻🅾🆄🅳 🅰🅻🅸🅰🆂🅴🆂 - Google Cloud aliases.
7
- # Sections:
8
- #
9
- # 1.0 Google Cloud Aliases.
10
- # 1.1 Aliases to get going with the gcloud command-line tool.
11
- # 1.2 Aliases to make the Cloud SDK your own; personalize your configuration with properties.
12
- # 1.3 Aliases to grant and revoke authorization to Cloud SDK.
13
- # 1.4 Aliases to configuring Cloud Identity & Access Management (IAM) preferences and service accounts.
14
- # 1.5 Aliases to manage project access policies.
15
- # 1.6 Aliases to manage containerized applications on Kubernetes.
16
- # 1.7 Aliases to create, run, and manage VMs on Google infrastructure.
17
- # 1.8 Aliases to build highly scalable applications on a fully managed serverless platform.
18
- # 1.9 Aliases to commands that might come in handy.
19
- #
20
- # Copyright (c) Sebastien Rousseau 2022. All rights reserved
21
- # Licensed under the MIT license
22
- #
23
-
24
- ## ----------------------------------------------------------------------------
25
- ## 1.0 Google Cloud Aliases.
26
- ## ----------------------------------------------------------------------------
27
-
28
- ## ----------------------------------------------------------------------------
29
- ## 1.1 Aliases to get going with the gcloud command-line tool.
30
- ## ----------------------------------------------------------------------------
31
-
32
- alias gcci='gcloud components install' # Install specific components.
33
- alias gccsp='gcloud config set project' # Set a default Google Cloud project to work on.
34
- alias gccu='gcloud components update' # Update your Cloud SDK to the latest version.
35
- alias gci='gcloud init' # Initialize, authorize, and configure the gcloud tool.
36
- alias gcinf='gcloud info' # Display current gcloud tool environment details.
37
- alias gcv='gcloud version' # Display version and installed components.
38
-
39
- ## ----------------------------------------------------------------------------
40
- ## 1.2 Aliases to make the Cloud SDK your own; personalize your configuration with properties.
41
- ## ----------------------------------------------------------------------------
42
-
43
- alias gccca='gcloud config configurations activate' # Switch to an existing named configuration.
44
- alias gcccc='gcloud config configurations create' # Create a new named configuration.
45
- alias gcccl='gcloud config configurations list' # Display a list of all available configurations.
46
- alias gccgv='gcloud config get-value' # Fetch value of a Cloud SDK property.
47
- alias gccl='gcloud config list' # Display all the properties for the current configuration.
48
- alias gccs='gcloud config set' # Define a property (like compute/zone) for the current configuration.
49
-
50
- ## ----------------------------------------------------------------------------
51
- ## 1.3 Aliases to grant and revoke authorization to Cloud SDK.
52
- ## ----------------------------------------------------------------------------
53
-
54
- alias gcaasa='gcloud auth activate-service-account' # Like gcloud auth login but with service account credentials.
55
- alias gcacd='gcloud auth configure-docker' # Register the gcloud tool as a Docker credential helper.
56
- alias gcal='gcloud auth list' # List all credentialed accounts.
57
- alias gcal='gcloud auth login' # Authorize Google Cloud access for the gcloud tool with Google user credentials and set current account as active.
58
- alias gcapat='gcloud auth print-access-token' # Display the current account's access token.
59
- alias gcar='gcloud auth revoke' # Remove access credentials for an account.
60
-
61
- ## ----------------------------------------------------------------------------
62
- ## 1.4 Aliases to configuring Cloud Identity & Access Management (IAM) preferences and service accounts.
63
- ## ----------------------------------------------------------------------------
64
-
65
- alias gciamk='gcloud iam service-accounts keys list' # List a service account's keys.
66
- alias gciaml='gcloud iam list-grantable-roles' # List IAM grantable roles for a resource.
67
- alias gciamp='gcloud iam service-accounts add-iam-policy-binding' # Add an IAM policy binding to a service account.
68
- alias gciamr='gcloud iam roles create' # Create a custom role for a project or org.
69
- alias gciams='gcloud iam service-accounts set-iam-policy' # Replace existing IAM policy binding.
70
- alias gciamv='gcloud iam service-accounts create' # Create a service account for a project.
71
-
72
- ## ----------------------------------------------------------------------------
73
- ## 1.5 Aliases to manage project access policies.
74
- ## ----------------------------------------------------------------------------
75
-
76
- alias gcpa='gcloud projects add-iam-policy-binding' # Add an IAM policy binding to a specified project.
77
- alias gcpd='gcloud projects describe' # Display metadata for a project (including its ID).
78
-
79
- ## ----------------------------------------------------------------------------
80
- ## 1.6 Aliases to manage containerized applications on Kubernetes.
81
- ## ----------------------------------------------------------------------------
82
-
83
- alias gcccc='gcloud container clusters create' # Create a cluster to run GKE containers.
84
- alias gcccg='gcloud container clusters get-credentials' # Update kubeconfig to get kubectl to use a GKE cluster.
85
- alias gcccl='gcloud container clusters list' # List clusters for running GKE containers.
86
- alias gccil='gcloud container images list-tags' # List tag and digest metadata for a container image.
87
-
88
- ## ----------------------------------------------------------------------------
89
- ## 1.7 Aliases to create, run, and manage VMs on Google infrastructure.
90
- ## ----------------------------------------------------------------------------
91
-
92
- alias gcpc='gcloud compute copy-files' # Copy files
93
- alias gcpdown='gcloud compute instances stop' # Stop instance
94
- alias gcpds='gcloud compute disks snapshot' # Create snapshot of persistent disks.
95
- alias gcpid='gcloud compute instances describe' # Display a VM instance's details.
96
- alias gcpil='gcloud compute instances list' # List all VM instances in a project.
97
- alias gcprm='gcloud compute instances delete' # Delete instance
98
- alias gcpsk='gcloud compute snapshots delete' # Delete a snapshot.
99
- alias gcpssh='gcloud compute ssh' # Connect to a VM instance by using SSH.
100
- alias gcpup='gcloud compute instances start' # Start instance.
101
- alias gcpzl='gcloud compute zones list' # List Compute Engine zones.
102
-
103
- ## ----------------------------------------------------------------------------
104
- ## 1.8 Aliases to build highly scalable applications on a fully managed serverless platform.
105
- ## ----------------------------------------------------------------------------
106
-
107
- alias gcapb='gcloud app browse' # Open the current app in a web browser.
108
- alias gcapc='gcloud app create' # Create an App Engine app within your current project.
109
- alias gcapd='gcloud app deploy' # Deploy your app's code and configuration to the App Engine server.
110
- alias gcapl='gcloud app logs read' # Display the latest App Engine app logs.
111
- alias gcapv='gcloud app versions list' # List all versions of all services deployed to the App Engine server.
112
-
113
- ## ----------------------------------------------------------------------------
114
- ## 1.9 Aliases to commands that might come in handy.
115
- ## ----------------------------------------------------------------------------
116
-
117
- alias gckmsd='gcloud kms decrypt' # Decrypt ciphertext (to a plaintext file) using a Cloud Key Management Service (Cloud KMS) key.
118
- alias gclll='gcloud logging logs list' # List your project's logs.
119
- alias gcsqlb='gcloud sql backups describe' # Display info about a Cloud SQL instance backup.
120
- alias gcsqle='gcloud sql export sql' # Export data from a Cloud SQL instance to a SQL file.
121
-
6
+ # 🅶🅲🅻🅾🆄🅳 🅰🅻🅸🅰🆂🅴🆂 - Google Cloud aliases.
7
+ # Sections:
8
+ #
9
+ # 1.0 Google Cloud Aliases.
10
+ # 1.1 Aliases to get going with the gcloud command-line tool.
11
+ # 1.2 Aliases to make the Cloud SDK your own; personalize your configuration with properties.
12
+ # 1.3 Aliases to grant and revoke authorization to Cloud SDK.
13
+ # 1.4 Aliases to configuring Cloud Identity & Access Management (IAM) preferences and service accounts.
14
+ # 1.5 Aliases to manage project access policies.
15
+ # 1.6 Aliases to manage containerized applications on Kubernetes.
16
+ # 1.7 Aliases to create, run, and manage VMs on Google infrastructure.
17
+ # 1.8 Aliases to build highly scalable applications on a fully managed serverless platform.
18
+ # 1.9 Aliases to commands that might come in handy.
19
+ #
20
+ # Copyright (c) Sebastien Rousseau 2022. All rights reserved
21
+ # Licensed under the MIT license
22
+ #
23
+
24
+ ## ----------------------------------------------------------------------------
25
+ ## 1.0 Google Cloud Aliases.
26
+ ## ----------------------------------------------------------------------------
27
+
28
+ ## ----------------------------------------------------------------------------
29
+ ## 1.1 Aliases to get going with the gcloud command-line tool.
30
+ ## ----------------------------------------------------------------------------
31
+
32
+ alias gcci='gcloud components install' # Install specific components.
33
+ alias gccsp='gcloud config set project' # Set a default Google Cloud project to work on.
34
+ alias gccu='gcloud components update' # Update your Cloud SDK to the latest version.
35
+ alias gci='gcloud init' # Initialize, authorize, and configure the gcloud tool.
36
+ alias gcinf='gcloud info' # Display current gcloud tool environment details.
37
+ alias gcv='gcloud version' # Display version and installed components.
38
+
39
+ ## ----------------------------------------------------------------------------
40
+ ## 1.2 Aliases to make the Cloud SDK your own; personalize your configuration with properties.
41
+ ## ----------------------------------------------------------------------------
42
+
43
+ alias gccca='gcloud config configurations activate' # Switch to an existing named configuration.
44
+ alias gcccc='gcloud config configurations create' # Create a new named configuration.
45
+ alias gcccl='gcloud config configurations list' # Display a list of all available configurations.
46
+ alias gccgv='gcloud config get-value' # Fetch value of a Cloud SDK property.
47
+ alias gccl='gcloud config list' # Display all the properties for the current configuration.
48
+ alias gccs='gcloud config set' # Define a property (like compute/zone) for the current configuration.
49
+
50
+ ## ----------------------------------------------------------------------------
51
+ ## 1.3 Aliases to grant and revoke authorization to Cloud SDK.
52
+ ## ----------------------------------------------------------------------------
53
+
54
+ alias gcaasa='gcloud auth activate-service-account' # Like gcloud auth login but with service account credentials.
55
+ alias gcacd='gcloud auth configure-docker' # Register the gcloud tool as a Docker credential helper.
56
+ alias gcal='gcloud auth list' # List all credentialed accounts.
57
+ alias gcal='gcloud auth login' # Authorize Google Cloud access for the gcloud tool with Google user credentials and set current account as active.
58
+ alias gcapat='gcloud auth print-access-token' # Display the current account's access token.
59
+ alias gcar='gcloud auth revoke' # Remove access credentials for an account.
60
+
61
+ ## ----------------------------------------------------------------------------
62
+ ## 1.4 Aliases to configuring Cloud Identity & Access Management (IAM) preferences and service accounts.
63
+ ## ----------------------------------------------------------------------------
64
+
65
+ alias gciamk='gcloud iam service-accounts keys list' # List a service account's keys.
66
+ alias gciaml='gcloud iam list-grantable-roles' # List IAM grantable roles for a resource.
67
+ alias gciamp='gcloud iam service-accounts add-iam-policy-binding' # Add an IAM policy binding to a service account.
68
+ alias gciamr='gcloud iam roles create' # Create a custom role for a project or org.
69
+ alias gciams='gcloud iam service-accounts set-iam-policy' # Replace existing IAM policy binding.
70
+ alias gciamv='gcloud iam service-accounts create' # Create a service account for a project.
71
+
72
+ ## ----------------------------------------------------------------------------
73
+ ## 1.5 Aliases to manage project access policies.
74
+ ## ----------------------------------------------------------------------------
75
+
76
+ alias gcpa='gcloud projects add-iam-policy-binding' # Add an IAM policy binding to a specified project.
77
+ alias gcpd='gcloud projects describe' # Display metadata for a project (including its ID).
78
+
79
+ ## ----------------------------------------------------------------------------
80
+ ## 1.6 Aliases to manage containerized applications on Kubernetes.
81
+ ## ----------------------------------------------------------------------------
82
+
83
+ alias gcccc='gcloud container clusters create' # Create a cluster to run GKE containers.
84
+ alias gcccg='gcloud container clusters get-credentials' # Update kubeconfig to get kubectl to use a GKE cluster.
85
+ alias gcccl='gcloud container clusters list' # List clusters for running GKE containers.
86
+ alias gccil='gcloud container images list-tags' # List tag and digest metadata for a container image.
87
+
88
+ ## ----------------------------------------------------------------------------
89
+ ## 1.7 Aliases to create, run, and manage VMs on Google infrastructure.
90
+ ## ----------------------------------------------------------------------------
91
+
92
+ alias gcpc='gcloud compute copy-files' # Copy files
93
+ alias gcpdown='gcloud compute instances stop' # Stop instance
94
+ alias gcpds='gcloud compute disks snapshot' # Create snapshot of persistent disks.
95
+ alias gcpid='gcloud compute instances describe' # Display a VM instance's details.
96
+ alias gcpil='gcloud compute instances list' # List all VM instances in a project.
97
+ alias gcprm='gcloud compute instances delete' # Delete instance
98
+ alias gcpsk='gcloud compute snapshots delete' # Delete a snapshot.
99
+ alias gcpssh='gcloud compute ssh' # Connect to a VM instance by using SSH.
100
+ alias gcpup='gcloud compute instances start' # Start instance.
101
+ alias gcpzl='gcloud compute zones list' # List Compute Engine zones.
102
+
103
+ ## ----------------------------------------------------------------------------
104
+ ## 1.8 Aliases to build highly scalable applications on a fully managed serverless platform.
105
+ ## ----------------------------------------------------------------------------
106
+
107
+ alias gcapb='gcloud app browse' # Open the current app in a web browser.
108
+ alias gcapc='gcloud app create' # Create an App Engine app within your current project.
109
+ alias gcapd='gcloud app deploy' # Deploy your app's code and configuration to the App Engine server.
110
+ alias gcapl='gcloud app logs read' # Display the latest App Engine app logs.
111
+ alias gcapv='gcloud app versions list' # List all versions of all services deployed to the App Engine server.
112
+
113
+ ## ----------------------------------------------------------------------------
114
+ ## 1.9 Aliases to commands that might come in handy.
115
+ ## ----------------------------------------------------------------------------
116
+
117
+ alias gckmsd='gcloud kms decrypt' # Decrypt ciphertext (to a plaintext file) using a Cloud Key Management Service (Cloud KMS) key.
118
+ alias gclll='gcloud logging logs list' # List your project's logs.
119
+ alias gcsqlb='gcloud sql backups describe' # Display info about a Cloud SQL instance backup.
120
+ alias gcsqle='gcloud sql export sql' # Export data from a Cloud SQL instance to a SQL file.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.459) - https://dotfiles.io
2
+ # 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.460) - https://dotfiles.io
3
3
  # Copyright (c) Sebastien Rousseau 2022. All rights reserved
4
4
  # License: MIT
5
5
 
@@ -77,8 +77,6 @@ alias grm='git remove'
77
77
  # gsc: Initialize and modify the sparse-checkout.
78
78
  alias gsc='git sparse-checkout'
79
79
 
80
-
81
-
82
80
  ## ----------------------------------------------------------------------------
83
81
  ## 1.2 Aliases to start a working area.
84
82
  ## ----------------------------------------------------------------------------
@@ -89,8 +87,6 @@ alias gcl='git clone'
89
87
  # gin: Create an empty Git repository or reinitialize an existing one.
90
88
  alias gin='git init'
91
89
 
92
-
93
-
94
90
  ## ----------------------------------------------------------------------------
95
91
  ## 1.3 Aliases to examine the history and state.
96
92
  ## ----------------------------------------------------------------------------
@@ -114,8 +110,6 @@ alias glg='git log --oneline --graph --full-history --all --color --decorate'
114
110
  # Show various types of objects.
115
111
  alias gs='git show'
116
112
 
117
-
118
-
119
113
  ## ----------------------------------------------------------------------------
120
114
  ## 1.4 Aliases to list, create, or delete branches.
121
115
  ## ----------------------------------------------------------------------------
@@ -153,8 +147,6 @@ alias grs='git reset'
153
147
  # gswb: Switch branches.
154
148
  alias gswb='git switch'
155
149
 
156
-
157
-
158
150
  ## ----------------------------------------------------------------------------
159
151
  ## 1.5 Aliases to collaborate.
160
152
  ## ----------------------------------------------------------------------------
@@ -171,8 +163,6 @@ alias gp='git pull'
171
163
  # Update remote refs along with associated objects.
172
164
  alias gph='git push'
173
165
 
174
-
175
-
176
166
  ## ----------------------------------------------------------------------------
177
167
  ## 1.6 Aliases to record changes to the repository.
178
168
  ## ----------------------------------------------------------------------------
@@ -198,8 +188,6 @@ alias gcint='git commit --interactive'
198
188
  # Commit with a message.
199
189
  alias gcm='git commit --message '
200
190
 
201
-
202
-
203
191
  ## ----------------------------------------------------------------------------
204
192
  ## 1.7 Aliases to show changes between commits, commit and working tree, etc.
205
193
  ## ----------------------------------------------------------------------------
@@ -222,8 +210,6 @@ alias gdcached='git diff --cached'
222
210
  # Generate a diffstat.
223
211
  alias gdstat='git diff --stat --ignore-space-change -r'
224
212
 
225
-
226
-
227
213
  ## ----------------------------------------------------------------------------
228
214
  ## 1.8 Aliases to show commit logs.
229
215
  ## ----------------------------------------------------------------------------
@@ -273,8 +259,6 @@ alias glw='git log --since=1-week-ago'
273
259
  # Show the log of the recent year.
274
260
  alias gly='git log --since=1-year-ago'
275
261
 
276
-
277
-
278
262
  ## ----------------------------------------------------------------------------
279
263
  ## 1.9 Aliases to switch branches or restore working tree files.
280
264
  ## ----------------------------------------------------------------------------
@@ -294,8 +278,6 @@ alias gcode='git checkout main && git branch --merged | xargs git branch --delet
294
278
  # Ensure local is like the main branch.
295
279
  alias gcom='git checkout main && git fetch origin --prune && git reset --hard origin/main'
296
280
 
297
-
298
-
299
281
  ## ----------------------------------------------------------------------------
300
282
  ## 2.0 Aliases to update remote refs along with associated objects.
301
283
  ## ----------------------------------------------------------------------------
@@ -338,8 +320,6 @@ alias gunpub='git push origin :$(git current-branch)'
338
320
  # Push current branch
339
321
  # alias gpcb='git push origin "$(git branch|grep '\*'|tr -d '* \n')"'
340
322
 
341
-
342
-
343
323
  ## ----------------------------------------------------------------------------
344
324
  ## 2.1 Aliases to manage set of tracked repositories.
345
325
  ## ----------------------------------------------------------------------------
@@ -390,17 +370,13 @@ alias gru='git remote update'
390
370
  # Shows URLs of remote repositories when listing your current remote connections.
391
371
  alias grv='git remote -v'
392
372
 
393
-
394
-
395
373
  ## ----------------------------------------------------------------------------
396
374
  ## 2.2 Aliases to revert some existing commits.
397
375
  ## ----------------------------------------------------------------------------
398
376
 
399
- alias grev='git revert' # Undo the changes from some existing commits
377
+ alias grev='git revert' # Undo the changes from some existing commits
400
378
  alias grevnc='git revert --no-commit' # Revert without autocommit; useful when you're reverting more than one commits' effect to your index in a row.
401
379
 
402
-
403
-
404
380
  ## ----------------------------------------------------------------------------
405
381
  ## 2.3 Aliases to initialize, update or inspect submodules.
406
382
  ## ----------------------------------------------------------------------------
@@ -426,8 +402,6 @@ alias gsmui='git submodule update --init'
426
402
  # Submodule update with initialize and recursive; this is useful to bring a submodule fully up to date.
427
403
  alias gsmuir='git submodule update --init --recursive'
428
404
 
429
-
430
-
431
405
  ## ----------------------------------------------------------------------------
432
406
  ## 2.4 Aliases to show the working tree status.
433
407
  ## ----------------------------------------------------------------------------
@@ -447,8 +421,6 @@ alias gsts='git status --short'
447
421
  # Status with short format and showing branch and tracking info.
448
422
  alias gstsb='git status --short --branch'
449
423
 
450
-
451
-
452
424
  ## ----------------------------------------------------------------------------
453
425
  ## 2.5 Aliases to create, list, delete or verify a tag object signed with GPG.
454
426
  ## ----------------------------------------------------------------------------
@@ -462,8 +434,6 @@ alias gtg='git tag'
462
434
  # Last tag in the current branch.
463
435
  alias gtl='git describe --tags --abbrev=0'
464
436
 
465
-
466
-
467
437
  ## ----------------------------------------------------------------------------
468
438
  ## 2.6 Aliases to show various types of objects.
469
439
  ## ----------------------------------------------------------------------------
@@ -483,8 +453,6 @@ alias gshnp='git show --no-patch --pretty="tformat:%h (%s, %ad)" --date=short'
483
453
  # Show who contributed, in descending order by number of commits.
484
454
  alias gshwho='git shortlog --summary --numbered --no-merges'
485
455
 
486
-
487
-
488
456
  ## ----------------------------------------------------------------------------
489
457
  ## 2.7 Aliases to reset current HEAD to the specified state.
490
458
  ## ----------------------------------------------------------------------------
@@ -504,8 +472,6 @@ alias gress='git reset --soft HEAD~1'
504
472
  # Reset to upstream.
505
473
  alias gresu='git reset --hard $(git upstream-branch)'
506
474
 
507
-
508
-
509
475
  ## ----------------------------------------------------------------------------
510
476
  ## 2.8 Aliases to pick out and massage parameters.
511
477
  ## ----------------------------------------------------------------------------
@@ -519,8 +485,6 @@ alias grpa='git rev-parse --abbrev-ref HEAD'
519
485
  # Get the upstream branch name.
520
486
  # alias gub='git for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD)'
521
487
 
522
-
523
-
524
488
  ## ----------------------------------------------------------------------------
525
489
  ## 2.9 Aliases to remove files from the working tree and from the index.
526
490
  ## ----------------------------------------------------------------------------
@@ -543,8 +507,6 @@ alias grmds='find . -name .DS_Store -exec git rm --ignore-unmatch --cached {} +'
543
507
  # Remove for all deleted files, including those with space/quote/unprintable characters in their filename/path.
544
508
  alias grmx='git ls-files -z -d | xargs -0 git rm --'
545
509
 
546
-
547
-
548
510
  ## ----------------------------------------------------------------------------
549
511
  ## 3.0 Aliases to show what revision and author last modified each line of a file.
550
512
  ## ----------------------------------------------------------------------------
@@ -552,8 +514,6 @@ alias grmx='git ls-files -z -d | xargs -0 git rm --'
552
514
  # Prints per-line contribution per author for a GIT repository.
553
515
  # alias gblau='git ls-files | xargs -n1 git blame --line-porcelain | sed -n 's/^author //p' | sort -f | uniq -ic | sort -nr'
554
516
 
555
-
556
-
557
517
  ## ----------------------------------------------------------------------------
558
518
  ## 3.1 Aliases to get and set repository or global options.
559
519
  ## ----------------------------------------------------------------------------
@@ -566,4 +526,3 @@ alias gconfl='git config --list'
566
526
 
567
527
  # Output remote origin from within a local repository.
568
528
  alias gconfr='git config --local --get remote.origin.url'
569
-