Fandom

Git Wiki

Inital basic git config

30pages on
this wiki
Add New Page
Talk0 Share

inial basic git config Edit

on buildhost 4

git config --global user.name '<user name>‘
git config --global user.email '<user>@work.com‘
Check setting
git config user.name
git config user.email

git config --global color.status auto
git config --global color.branch auto
cat ~/.gitconfig

here is my current ~.gitconfig file

[user]
        name = Robert Berger
        email = me@work.com
[color]
        status = auto
        branch = auto
        ui     = true
[diff]
        color = auto
[pager]
        color = true
[status]
        color = auto
[color "branch"]
        current = yellow reverse
        local = yellow
        remote = green
[color "diff"]
        meta = yellow bold
        frag = magenta bold
        old = red bold
        new = green bold
        whitespace = red reverse
[color "status"]
        added = yellow
        changed = green
        untracked = cyan
[core]
    whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
[alias]
    st = status
    ci = commit
    br = branch
    co = checkout
    df = diff
    lg = log -p

For this to work you need to do the following in your profile:

     export LESS="-erX"

which I did globally on builhost4

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.