Skip to content

Instantly share code, notes, and snippets.

@Nigtellios
Last active August 14, 2023 20:23
Show Gist options
  • Save Nigtellios/613915a2e5ab0d311610c2e88132cb66 to your computer and use it in GitHub Desktop.
Save Nigtellios/613915a2e5ab0d311610c2e88132cb66 to your computer and use it in GitHub Desktop.
Adding autocomplete to Git Bash on Windows
  1. Go into your C:\User\<USER> with your terminal.
  2. Run command mkdir ~/bash_completion.d
  3. Run command curl -o ~/bash_completion.d/git https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash
  4. Run command echo "source ~/bash_completion.d/git" >> ~/.bashrc

Now you can look for completions with TAB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment