# Push local project into remote github repository (Username and password issue)

**URL:** <https://discourse.nodered.org/t/push-local-project-into-remote-github-repository-username-and-password-issue/54346>\
**Category:** General\
**Created:** [26 November 2021 16:01 UTC](https://discourse.nodered.org/t/push-local-project-into-remote-github-repository-username-and-password-issue/54346 "2021-11-26T16:01:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![findoctorlin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/findoctorlin/32/51642_2.png) [@findoctorlin](https://discourse.nodered.org/u/findoctorlin)\
**Post date:** [26 November 2021 16:01 UTC](https://discourse.nodered.org/t/push-local-project-into-remote-github-repository-username-and-password-issue/54346/1 "2021-11-26T16:01:15Z")

</div>

Hi guys!

I have been trying to push my local project into my github remote repository. My workflow is like:  
"change the parameter in settings.js from 'false' to 'true' " -\> create a new local project -\> click "+ all" button -\> commit the changes -\> add remote repository URL(https) into the settings of this local project -\> "push"

When I tried to push it finally, it keeps telling me my password is wrong

here is what my settings look like:

 ![setting1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/7/c7381c4dc7f9a54502eecdd50c8a31b8ba605742.jpeg)

 ![setting2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/f/5faa1d6787602092498246a43f76070fa05a3e87.jpeg)

May I ask what have I done wrong here?

PS: remote repository has no file & the project was created without encryption。

Thank you!

---

<div class="post-metadata">

**Author:** ![findoctorlin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/findoctorlin/32/51642_2.png) [@findoctorlin](https://discourse.nodered.org/u/findoctorlin)\
**Post date:** [26 November 2021 16:04 UTC](https://discourse.nodered.org/t/push-local-project-into-remote-github-repository-username-and-password-issue/54346/2 "2021-11-26T16:04:22Z")

</div>

more detailed:

 ![github](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/d/7d0c3d6b50cc1a1018c70f16683c4b52ac267336.png)  
 ![wrong](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/6/76aafaa0f1bf33359b99ed81205311b4367f4999.png)

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [26 November 2021 16:04 UTC](https://discourse.nodered.org/t/push-local-project-into-remote-github-repository-username-and-password-issue/54346/3 "2021-11-26T16:04:27Z")

</div>

GitHub no longer supports using username/password to authenticate. You need to generate a Personal Access Token and use that in place of your password.

> **[Creating a personal access token - GitHub Docs](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)**

---

<div class="post-metadata">

**Author:** ![findoctorlin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/findoctorlin/32/51642_2.png) [@findoctorlin](https://discourse.nodered.org/u/findoctorlin)\
**Post date:** [26 November 2021 19:02 UTC](https://discourse.nodered.org/t/push-local-project-into-remote-github-repository-username-and-password-issue/54346/4 "2021-11-26T19:02:07Z")

</div>

Thank you Sir

---

<div class="post-metadata">

**Author:** ![akashtalole](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/akashtalole/32/30002_2.png) [@akashtalole](https://discourse.nodered.org/u/akashtalole)\
**Post date:** [27 November 2021 03:15 UTC](https://discourse.nodered.org/t/push-local-project-into-remote-github-repository-username-and-password-issue/54346/5 "2021-11-27T03:15:56Z")

</div>

You can generate PAT from here [https://github.com/settings/tokens](https://github.com/settings/tokens)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [11 December 2021 03:16 UTC](https://discourse.nodered.org/t/push-local-project-into-remote-github-repository-username-and-password-issue/54346/6 "2021-12-11T03:16:52Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
