.git/config: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 26: Line 26:


See {{Internal|Git_config#Turn_Off_SSL_Server_Certificate_Verification_for_a_Specific_Repository|Turn Off SSL Server Certificate Verification for a Specific Repository}}
See {{Internal|Git_config#Turn_Off_SSL_Server_Certificate_Verification_for_a_Specific_Repository|Turn Off SSL Server Certificate Verification for a Specific Repository}}
==[user]==
    name = John Doe
    email = john@doe.com

Revision as of 17:23, 10 May 2018

Internal

Overview

Entries

[core]

[remote]

[remote] entires represent remotes for the current repository, and are manipulated by the git remote command.

[remote "origin"]
       url = https://gogs-cicd.apps.openshift.novaordis.io/gogs/novaordis-session-servlet.git
       fetch = +refs/heads/*:refs/remotes/origin/*

More than one [remote] entries are possible, in case the local repository has multiple remotes.

[branch]

See

Link a Local Branch to its Tracking Branch

[http]

See

Turn Off SSL Server Certificate Verification for a Specific Repository

[user]

   name = John Doe
   email = john@doe.com