It might be something like C:\Users\name\AppData\Local\Programs\Git, the mingw64 in this directory is your root. from the start menu, right click on the Git Bash icon and open file location. The basic idea is that C:\Program Files\Git\mingw64\ is your / directory according to Git Bash ( note: depending on how you installed it, the directory might be different. It is missing a few standard linux utilities, but it is easy to add ones that have a windows binary available. $ cd MINGW64 /d/example-project/.Git for Windows comes bundled with the "Git Bash" terminal which is incredibly handy for unix-like commands on a windows machine. If you are in git repository folder then it shows (GIT_DIR!): MINGW64 /d/example-project (master) 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. separate-git-dir= MINGW64 /d/example-project (master) $ 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |