Configure

Configure

  • Sets the name you want attached to your commit transactions

    git config –global user.name "[name]"

  • Sets the email you want attached to your commit transactions

    git config –global user.email "[email address]"

  • Enables helpful colorization of command line output

    git config –global color.ui auto

  • Update a branch with the same name as current branch if no refspec is given

    git config –global push.default current

  • Which editor to use when commit and tag that lets you edit messages

    git config –global core.editor [editor]

  • Specify which command to invoke as the specified tool for git difftool

    git config –global diff.tool [tool]