George Lifchits
12/19/2023, 4:17 PM--no-verify by default into the gt subcommands? Iām having troubles using gt create with our pre-commit hookJacob Gold
12/19/2023, 6:56 PMgt cn for create --no-verify perhaps? see gt aliasesJacob Gold
01/23/2024, 3:45 AMGeorge Lifchits
01/23/2024, 4:12 AMPushing to remote and creating/updating PRs... made me quite uneasy
example output of 1
# in web on gl-01-22-my-valid-branch-name
$ gt create
ā You have no staged changes. What would you like to do? āŗ Commit all file changes (--all)
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā®
ā š„ lefthook v1.5.2 hook: pre-commit ā
ā°āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāÆ
ā git-policy āÆ
Branch names in this project must adhere to this contract: ^[a-z0-9.-]+$. Your commit will be rejected. You should rename your branch to a valid name and try again.Jacob Gold
01/24/2024, 12:54 AMpre-push hook checks out the branch being pushed to run prettier/linters? In gt submit we may push not only the current branch, but also other branches in your stack.
More context on why i am asking this: https://graphite-community.slack.com/archives/C02DRNRA9RA/p1706057185500869?thread_ts=1701981481.815529&cid=C02DRNRA9RAGeorge Lifchits
01/24/2024, 2:39 AMpre-push hook we have only runs linters on the current head, its not checking out other branchesGeorge Lifchits
01/24/2024, 2:41 AMgt create does. I already do gt create -m 'commit msg that will generate a safe branch name' to avoid the branch regex hook from yelling at me. and sometimes I conflate gt create with git commitGeorge Lifchits
01/24/2024, 2:42 AMgt is forcing me to actually think before I type things in š