go to your start screen and search for git.exe In the search result right click on the Git Gui/ Git Bash icon and select Open File location You will be taken to a flder where the shortcuts will be located. This function takes two arguments – the last word that was entered before the user hit the tab key as well as the entire line that has been entered into the prompt. If you are in Windows 8 and above here are the steps that you can follow. Next, create a function called “TabExpansion”. If this file doesn’t exist, then you’ll need to create it. ![]() To implement a custom TabExpansion function, you’ll need to open your Powershell profile (stored in DocumentsWindowsPowershellProfile.ps1). This is taken further by providing auto-completion for branch names and remote names, so typing “git push ” would automatically fill in “git push origin” and “git push origin ” would then cycle through my local branches. I also use a custom TabExpansion function that provides tab-completion for common git commands.įor example, if I type “git ch” then powershell will insert “git checkout”. My colleague Mark Embling wrote about this in detail.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |