![]() The last screenshots above show (master) in cyan color. Git bash for windows also informs us if we are in a working branch by showing the branch name in parentheses. For example, the following basic command creates a new branch and automatically switches you to it: command git checkout -b To switch from one branch to another, simply use: git checkout git remote lets you view all remote repositories.separate-git-dir= MINGW64 /d/example-project (master) git checkout creates branches and helps you to navigate between them. $ git init MINGW64 /d/example-project (master) no-template MINGW64 /d/example-project (master) $ git MINGW64 /d/example-project (master) help MINGW64 /d/example-project (master) bashrc (home directory or your custom location): source ~/git-completion.bashĪutocompletion also works with command's options: MINGW64 /d/example-project (master) If you don't have the autocompletion support, get the source code of git-completion.bash from here, save that in your home directory and add this to your. ![]() ![]() Stage stash MINGW64 /d/example-project (master) Git bash by default provides autocompletion for git commands: MINGW64 /d/example-project (master)
0 Comments
Leave a Reply. |