Kenneth Russell | 1112255 | 2016-03-25 17:22:21 -0700 | [diff] [blame] | 1 | REM Add [include] of repo's .gitconfig in clone's .git/config.
|
| 2 | REM This only needs to be run once.
|
| 3 |
|
| 4 | REM
|
| 5 | REM Copyright (c) 2016 The Khronos Group Inc.
|
| 6 | REM
|
| 7 | REM Permission is hereby granted, free of charge, to any person obtaining a
|
| 8 | REM copy of this software and/or associated documentation files (the
|
| 9 | REM "Materials"), to deal in the Materials without restriction, including
|
| 10 | REM without limitation the rights to use, copy, modify, merge, publish,
|
| 11 | REM distribute, sublicense, and/or sell copies of the Materials, and to
|
| 12 | REM permit persons to whom the Materials are furnished to do so, subject to
|
| 13 | REM the following conditions:
|
| 14 | REM
|
| 15 | REM The above copyright notice and this permission notice shall be included
|
| 16 | REM in all copies or substantial portions of the Materials.
|
| 17 | REM
|
| 18 | REM THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 19 | REM EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 20 | REM MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
| 21 | REM IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
| 22 | REM CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
| 23 | REM TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
| 24 | REM MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
| 25 | REM Set colors
|
| 26 |
|
| 27 | git config --local include.path ..\.gitconfig
|
| 28 | echo Git config was successfully set.
|