Zach S
11/11/2025, 8:58 PM--restack in gt submit? It appears not.
Can you please make -k an alias for --restack ?
When I gt submit, it totally messes up my flow when I realize nothing has happened and my terminal says "are you sure you want to restack?"
I've often switched branches and am doing something else!
So I always use gt submit -s --restack but it's pretty verbose. Any shortcuts for that besides a bash alias?Pylon
11/11/2025, 8:58 PMPylon
11/12/2025, 2:00 PMTopher Brown
11/12/2025, 4:59 PM$ cat ~/.config/graphite/aliases
# Edit this file to configure aliases for Graphite commands.
# If you delete this file, it will be recreated with the default aliases.
# The first word of each line is the alias, and the rest is the command.
# Lines starting with # are ignored.
# The aliases for ss, ls, and ll are defined by default and must be overridden to be disabled.
# They are shown below to demonstrate the formatting.
ls log short
ll log long
ss submit --stack --ignore-out-of-sync-trunk
s submit --ignore-out-of-sync-trunk
yolo submit --no-interactive --ignore-out-of-sync-trunk --publish
yolom submit --no-interactive --ignore-out-of-sync-trunk --publish --merge-when-ready
yolod submit --no-interactive --ignore-out-of-sync-trunk --draftZach S
11/12/2025, 6:16 PMss submit --stack
to
ss submit --stack --restack