| , remotes : [ | , remotes : [ | ||||
| // these are both fetch and push remotes. Use push - remotes to override push. | // these are both fetch and push remotes. Use push - remotes to override push. | ||||
| { 'chess' : `${options.reposerver}/chess/elxr.git` } | { 'chess' : `${options.reposerver}/chess/elxr.git` } | ||||
| , { 'public-github-baptistdev' : 'https://github.com/baptistdev/elxr.git' } | |||||
| , { 'baptistdev-public' : 'https://github.com/baptistdev/elxr.git' } | |||||
| // Multiple urls dont tell us the current origin which may be | // Multiple urls dont tell us the current origin which may be | ||||
| // different based on currently available/accessible based on device and client. | // different based on currently available/accessible based on device and client. | ||||
| // We just treat them as different remotes and merge as needed. | // We just treat them as different remotes and merge as needed. | ||||
| // | // | ||||
| , { 'origin' : `${options.reposerver}/${options.repouser}/elxr.git` } | |||||
| , { 'origin-public' : `https://git.bbh.org.in/${options.repouser}/elxr.git` } | |||||
| , { 'origin-unc' : `//172.16.0.27/repos/${options.repouser}/elxr.git` } | |||||
| , { 'origin' : `${options.reposerver}/${options.username}/elxr.git` } | |||||
| , { 'origin-public' : `https://git.bbh.org.in/${options.username}/elxr.git` } | |||||
| , { 'origin-unc' : `//172.16.0.27/repos/${options.username}/elxr.git` } | |||||
| // , { `${options.username}` : `https://git.bbh.org.in/${options.username}/elxr.git` } | |||||
| ] | ] | ||||
| , 'push-remotes' : [ | , 'push-remotes' : [ | ||||
| { 'chess' : 'no-pushing' } | { 'chess' : 'no-pushing' } | ||||
| , { 'public-baptistdev' : 'no-pushing' } | |||||
| , { 'public-origin' : 'no-pushing' } | |||||
| , { 'baptistdev-public' : 'no-pushing' } | |||||
| , { 'origin-public' : 'no-pushing' } | |||||
| ] | ] | ||||