Merge pull request #5589 from tigsikram/fix-git-scm-links
Fix git-scm.com links
This commit is contained in:
commit
7832469836
@ -22,7 +22,7 @@ func NewURLConfig(git Environment) *URLConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get retrieves a `http.{url}.{key}` for the given key and urls, following the
|
// Get retrieves a `http.{url}.{key}` for the given key and urls, following the
|
||||||
// rules in https://git-scm.com/docs/git-config#git-config-httplturlgt.
|
// rules in https://git-scm.com/docs/git-config#Documentation/git-config.txt-httplturlgt.
|
||||||
// The value for `http.{key}` is returned as a fallback if no config keys are
|
// The value for `http.{key}` is returned as a fallback if no config keys are
|
||||||
// set for the given urls.
|
// set for the given urls.
|
||||||
func (c *URLConfig) Get(prefix, rawurl, key string) (string, bool) {
|
func (c *URLConfig) Get(prefix, rawurl, key string) (string, bool) {
|
||||||
|
@ -315,7 +315,7 @@ hook. You should set this if you're not using File Locking, or your Git
|
|||||||
server verifies locked files on pushes automatically.
|
server verifies locked files on pushes automatically.
|
||||||
+
|
+
|
||||||
Supports URL config lookup as described in:
|
Supports URL config lookup as described in:
|
||||||
https://git-scm.com/docs/git-config#git-config-httplturlgt. To set this
|
https://git-scm.com/docs/git-config#Documentation/git-config.txt-httplturlgt. To set this
|
||||||
value per-host:
|
value per-host:
|
||||||
`git config --global lfs.https://github.com/.locksverify [true|false]`.
|
`git config --global lfs.https://github.com/.locksverify [true|false]`.
|
||||||
* `lfs.sshtransfer` / `lfs.<url>.sshtransfer`
|
* `lfs.sshtransfer` / `lfs.<url>.sshtransfer`
|
||||||
|
Loading…
Reference in New Issue
Block a user