![]() branch = auto diff = auto status = auto current = yellow reverse local = yellow remote = green meta = yellow bold frag = magenta bold old = red bold new = green bold added = yellow changed = green untracked = cyan For this, copy and paste the following into file ~/.gitconfig. Mac terminals can be configured to use colors to improve the display. Most definitely, specific components of Git are best displayed in color, making it easier to identifier different components and, thus, more comfortable to read.įrom the terminal run the following set of commands (i.e., from any folder): git config -global color.status auto git config -global color.branch auto git config -global color.interactive auto git config -global color.diff auto Unless you are reading this from a monochrome display, let’s take advantage of some of the color features for git. Regardless, let’s keep it simple and neat - setup a Git color scheme and branch information displayed in the terminal. These details associated with any commits that you create: git config -global user.name "Ava Paris" git config -global user.email (Optional) To remember your Git username and password when working with HTTPS repositories, configure the git-credential-osxkeychain helper. Configure your Git username and email using the following commands, replacing Ava’s name with your own. Open a terminal and verify the installation was successful by typing and running the following in the terminalĢ.Download the latest Git for Mac installer.The easiest way to install Git on a Mac is via the stand-alone installer: ![]() Open the terminal and install Homebrew by running the following command: /usr/bin/ruby -e "$(curl -fsSL )" For the sake of having the brew package manager installed, I recommend using Homebrew. ![]() It can be done a couple of different ways. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |