DEV Community

Cover image for 🚀Cara Mudah Ganti Akun Github di Windows
Ferry Ananda Febian
Ferry Ananda Febian

Posted on

2 1 1 1

🚀Cara Mudah Ganti Akun Github di Windows

Mungkin diantara kita masih banyak yang kesulitan untuk mengganti akun github di perangkatnya, apalagi jika bekerja dengan repository yang bersifat private, tentu hanya akun Github yang diberikan izin yang dapat mengakses repository tersebut.

Indikasi paling umum untuk masalah ini adalah error dengan tulisan

remote: Repository not found.
Enter fullscreen mode Exit fullscreen mode

Contoh error Repository not found

Referensi

Dari beberapa sumber dan juga pengalaman pribadi saya, cara paling mudah untuk mengatasi masalah tersebut adalah dengan menghapus credential Github di perangkat Windows kita.

Hapus Credential Github di Windows

Ketika menghapus sebuah credential dan saat berinteraksi dengan remote repository, maka credential di Windows akan meminta kita untuk login. Inilah cara mudah yang saya maksud.

Login Ulang setelah Menghapus Credential

Setelah menghapus credential Github, coba deh berinteraksi dengan remote repository, misal git pull atau git push, maka secara otomatis kita akan diminta untuk login ulang.

Berinteraksi dengan Github

Masalah selesai.

Sekian catatan singkat saya kali ini, semoga bermanfaat.

NB: pembaca yang baik akan meninggalkan jejak :)

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (1)

Collapse
 
ferryops profile image
Ferry Ananda Febian •

reserved

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay