Merge pull request #5589 from tigsikram/fix-git-scm-links

Fix git-scm.com links
This commit is contained in:
brian m. carlson 2023-12-13 15:48:36 +00:00 committed by GitHub
commit 7832469836
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -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`