# VS code commit issues

**URL:** <https://forum.theavr.org/t/vs-code-commit-issues/148>\
**Category:** AVR Drone Software\
**Created:** [September 16, 2022, 8:36pm UTC](https://forum.theavr.org/t/vs-code-commit-issues/148 "2022-09-16T20:36:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aunali](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@aunali](https://forum.theavr.org/u/aunali)\
**Post date:** [September 16, 2022, 8:36pm UTC](https://forum.theavr.org/t/vs-code-commit-issues/148/1 "2022-09-16T20:36:35Z")

</div>

Our team is getting to the autonomous section and I attempted to do a test defined in “Autonomy and Beyond” in the “Using Git” part, however, when I tried to commit the newly added .txt file VS code gives me the following error:

![image](https://canada1.discourse-cdn.com/flex007/uploads/avr/original/1X/f84ce47389e7c318ddcf9fc762ce1f6b72f39308.png)  
When I open the git log it tells me the following (in reply because I can only do one media link):

I did set up the global user and email and confirm using the “git config --global user.email” and “git config --global user.name” that the user and email were what I set it to be. So I’m not sure why VS code doesn’t know who the user. Any help is appreciated, thanks.

---

<div class="post-metadata">

**Author:** ![aunali](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@aunali](https://forum.theavr.org/u/aunali)\
**Post date:** [September 16, 2022, 8:37pm UTC](https://forum.theavr.org/t/vs-code-commit-issues/148/2 "2022-09-16T20:37:10Z")

</div>

Second media link showing git log: ![image](https://canada1.discourse-cdn.com/flex007/uploads/avr/original/1X/8be971f4933b368ee298440f504e5efe3c7cec02.png)

---

<div class="post-metadata">

**Author:** ![nathan](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.theavr.org/nathan/32/4_2.png) [@nathan](https://forum.theavr.org/u/nathan)\
**Post date:** [September 18, 2022, 8:37pm UTC](https://forum.theavr.org/t/vs-code-commit-issues/148/3 "2022-09-18T20:37:08Z")

</div>

Are you using VS Code over SSH? If so, you’ll also need to configure your git name and email on the Jetson as well. Really, all this message is saying is that VS Code doesn’t think you’ve set up your git name and email address, and you can just set it up again.

Be sure to add the `--global` flag, otherwise the name and email are only configured for a single repository and not system-wide.
