Here are commonly used Git Bash terminal shortcuts to speed up your workflow:

Aditya PatilAditya Patil
2 min read

Here are commonly used Git Bash terminal shortcuts to speed up your workflow:

🔹 Navigation & Editing

ShortcutDescription
Ctrl + AMove cursor to beginning of the line
Ctrl + EMove cursor to end of the line
Ctrl + UDelete from cursor to beginning of line
Ctrl + KDelete from cursor to end of line
Ctrl + WDelete word before the cursor
Ctrl + YPaste text previously cut (yank)
Ctrl + LClear the terminal (like clear)
Ctrl + CCancel current command
Ctrl + DExit the shell (EOF)

🔹 Command History

ShortcutDescription
↑ / ↓ (Arrow Keys)Scroll through previous/next commands
Ctrl + RSearch command history (reverse search)
!!Repeat last command
!<command>Run last command starting with <command>

🔹 Auto-completion

ShortcutDescription
TabAuto-complete file/command
Tab TabShow all possible completions

🔹 Other Useful Shortcuts

ShortcutDescription
Ctrl + ZSuspend current job (use fg to resume)
Ctrl + TSwap last two characters before cursor
Alt + .Use last argument from previous command

Let me know if you want Git-specific shortcuts or custom aliases too.

0
Subscribe to my newsletter

Read articles from Aditya Patil directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Aditya Patil
Aditya Patil

Hi, I'm Aditya — a Cloud & DevOps Engineer passionate about automating everything from CI/CD pipelines to multi-cloud infrastructure. I specialize in AWS, Kubernetes, Terraform, and GitOps tools like Argo CD. I’ve helped teams scale applications, cut cloud costs by 90%, and build disaster-ready infra. I love sharing real-world DevOps lessons, cloud cost optimization tips, and infrastructure design patterns. Let’s connect and simplify the cloud — one YAML file at a time ☁️⚙️