Setting up existing local Github repo using personal access token

#github

Personal access token

Sudah beberapa waktu ini, Github meminta pengguna untuk mengakses repositori menggunakan personal access token. Bukan menggunakan user dan password seperti biasa.

Begini caranya

  • Create your personal access token following this link .
  • Copy the created token, paste it somewhere
  • Copy the https link of your repository, paste it somewhere
  • open terminal (Windows prompt kalau Anda menggunakan Windows)
  • change directory to your local repository
  • type git remote set-url origin https://<token>@github.com/<git_url> eg: git remote set-url origin https://aaabbbccc@github.com/aaabbbccc.git
  • then pull once by typing git pull https://<token>@<git_url>.git eg: git pull https://aaabbbccc@github.com/aaabbbccc.git
  • you’re ready to do git add . , git commit -m "aaa bbb ccc and git push origin master

Repeat the process if your personal access token expired.

Reference: https://stackoverflow.com/questions/68191392/password-authentication-is-temporarily-disabled-as-part-of-a-brownout-please-us

About the author

My current focus is how to provide the hydrostratigraphy of volcanic aquifers in Bandung area. The research is based on environmental isotope measurement in groundwater and morphometry. My work consists of hydrochemical measurements. I am using multivariate statistical methods to provides more quantitative foundation for the analysis and more insight into the groundwater behavior, especially its interaction with surface water. I use open source apps like R and Python to do the job. In my spare time, I also have a side project to promote open science in Indonesia's research workflow. One of my current focus is promoting INARxiv, as the first preprint server of Indonesia (osf.io/preprints/inarxiv) and serving as ORCID and OSF (osf.io) ambassador. Research interest: Hydrochemistry, multivariate analysis, and R programming. Blog: dasaptaerwin.net, derwinirawan.wordpress.com. (https://orcid.org/0000-0002-1526-0863)