File tree Expand file tree Collapse file tree
book/A-git-in-other-environments/sections Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44If you're a Bash user, you can tap into some of your shell's features to make your experience with Git a lot friendlier.
55Git actually ships with plugins for several shells, but it's not turned on by default.
66
7- First, you need to get a copy of the `contrib/completion/git-completion.bash` file out of the Git source code.
8- Copy it somewhere handy, like your home directory, and add this to your `.bashrc` :
7+ First, you need to get a copy of the completions file from the source code of the Git release you're using.
8+ Check your version by typing `git version` , then use `git checkout tags/vX.Y.Z` , where `vX.Y.Z` corresponds to the version of Git you are using.
9+ Copy the `contrib/completion/git-completion.bash` file somewhere handy, like your home directory, and add this to your `.bashrc` :
910
1011[source,console]
1112----
You can’t perform that action at this time.
0 commit comments