Original Reddit post

So I wan’t to use git commands (for example git checkout branch ) to switch branches or merge. Because I use a docker sandbox, it’s not possible to quit claude code and to be in the empty terminal of the same sandbox to then enter commands. When I quit claude code the whole sandbox just stops (it’s not a custom Docker container but a Linux microVM with all usual agents out of the box). So is there a way to enter commands within claude code without prompting to avoid using tokens for them? Edit: For all facing this problem, just hit ! in claude code and you’re in the shell mode :) Seems to work in all coding agent CLIs btw submitted by /u/Physical_Storage2875

Originally posted by u/Physical_Storage2875 on r/ClaudeCode