how do i merge a diff into main on local without u...
# how-do-i
l
how do i merge a diff into main on local without using the web console?
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
Hi Luke, What is your goal with merging locally? Are you trying to replicate what happens when a PR on Graphite is merged into main?
l
trying to not pay you guys. jk nah i just sometimes need to push/merge etc with a normal git flow locally and trying to figure out how to take a stack and merge them to main
p
Haha we do have support for merging locally. If you branch is ready to merge (resolved comments/CI passing), you can run
gt merge
while checked out on the branch or stack you're trying to merge. You will need to run
gt sync
on main after if you want those changes to show locally