Skip to content

Switch name and email config

Missy Davies requested to merge md-switch-config into main

What does this merge request do and why?

After asking for name and email to setup the git config, the script inversely assigns the values. This MR fixes that to properly assign name=name and email=name.

How to set up and validate locally

Follow the steps to setup gdk in a box here: https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/gdk_in_a_box.md#standard-setup

At step #5 (closed) after running curl "https://gitlab.com/gitlab-org/gitlab-development-kit/-/raw/main/support/gdk-in-a-box/setup-git" | bash, the script should ask for name and email.

Once you finish setup, from inside the VS Code gdk in a box window's terminal check git config --list and verify name and email are set properly.

Impacted categories

The following categories relate to this merge request:

Merge request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise an issue to follow-up.
  • Documentation added/updated, if needed.
  • Announcement added, if change is notable.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.
Edited by Missy Davies

Merge request reports

Loading