Commit graph

13 commits

Author SHA1 Message Date
761a5d6c1f
gitconfig: git config --global format.signOff true
Summary:
Ref [man git config](https://git-scm.com/docs/git-config#Documentation/git-config.txt-formatsignOff).

Also disables aliases with `-s` now that config takes over

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Apply patch and `git cm`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D100
2024-05-19 15:10:29 +09:00
109c34c1ad
gitalias: add more aliases
Summary:
Even more shorter for lazy myself

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `git a-d`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D71
2024-05-11 16:48:16 +09:00
14c908207b
gitalias: add amends, amendss, change amend
Summary:
- amend: remove `-s` so it's pure `--amend`.
- amends: previous `amend` which is `-s`
- amendss: previous `amends` which is `-s -S`

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `sh deploy.sh` and run commands

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D76
2024-05-11 16:48:12 +09:00
0f5af9e513
gitaliases: shorter arc shortcuts
Summary:
what's the point of using `git arcdiff` when it is longer than `arc diff`? make it shorter to quicker typing time.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `git ad`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D64
2024-05-10 18:11:01 +09:00
fbd4a63e03
gitalias: do not assume master as universal default branch
Summary:
Since around 2020, `main` has gained traction but not everyone has followed suit, so move master-tracking commands to make way for disambig command.

This will let me select my own default primary branch that is neither main nor master.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `sh deploy.sh` then try `git com`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D68
2024-05-10 18:10:59 +09:00
30c04e1cb6
deploy.sh: add deploy commands
Summary:
Also change gitconfig and gitalias to be @ $HOME.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Try `sh deploy.sh` AT YOUR OWN RISK.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D60
2024-05-09 20:44:27 +09:00
7dcaa2e6da
meta: various changes
Summary:
- remove vscode submodule
- git mv git(config|ignore).sample to default.git(config|ignore)
- more rules for editorconfig, alphabetize
- enforce ^
- mv REAMDE.wiki to REAMDE.md but forgot git mv (markup difference would've made them different enough anyway)
- gitconfig to new identity
- change gpg.conf default too

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Read the Diff ™️.

Reviewers: #acl_sudoers, #blessed_reviewers, revi

Reviewed By: #acl_sudoers, #blessed_reviewers, revi

Differential Revision: https://issuetracker.revi.xyz/D18
2024-05-03 12:28:13 +09:00
820f0dd2b6
Add new alias
alias ftw

Signed-off-by: Yongmin Hong <revi@pobox.com>
2017-10-17 21:54:34 +09:00
c23cf23223
EDITOR=NANO
EX..TER..MI..NATE....

Signed-off-by: Yongmin Hong <revi@pobox.com>
2017-10-14 22:05:06 +09:00
2e9ef2fb7d
Add new alias
Lazy

Signed-off-by: Yongmin Hong <revi@pobox.com>
2017-08-10 07:48:27 +09:00
a0dfdf7b82
Add few git aliases
life gets easier

Signed-off-by: Yongmin Hong <revi@pobox.com>
2017-07-13 00:12:10 +09:00
6807e24a7f
Split commit itself and commit with GPG signature
There are some instances where I can't sign the packages (usually it
's remote server) so I can use signing only on local and not on remo
te.

Signed-off-by: Yongmin Hong <revi@pobox.com>
2017-06-29 19:16:25 +09:00
60cc2c5a6a
Move git aliases out of gitconfig
So it can be more effective.

Signed-off-by: Yongmin Hong <revi@pobox.com>
2017-05-29 02:41:05 +09:00