Links and instructions to have a more clear command line related to git.
-
Save this in your home directory as git-completion.bash
-
Save this in your home directory as git-prompt.sh
-
Copy the content of bash_profile_course into
.bash_profile
or.bashrc
. -
Run the following commands at terminal
$ git config --global push.default upstream
$ git config --global merge.conflictstyle diff3
- Restart terminal.