ConfigAdd adds a key-value pair to the gitconfig in `repo`.
(t *testing.T, key, value string)
| 282 | |
| 283 | // ConfigAdd adds a key-value pair to the gitconfig in `repo`. |
| 284 | func (repo *TestRepo) ConfigAdd(t *testing.T, key, value string) { |
| 285 | t.Helper() |
| 286 | |
| 287 | err := repo.GitCommand(t, "config", "--add", key, value).Run() |
| 288 | require.NoError(t, err) |
| 289 | } |