Cara Ubah Remote URL Repositori Git dengan

Kenapa saya pilih bitbucket? karene di bitbucket bisa gratis save repository private, untuk cara untuk push dan full pada hampir semua git sama! berikut cara untuk ganti URL remote dari gir repo sebelumnya ke bitbucket!

  1. login ke bitbucket
  2. create repo baru di account anda sehingga mendapat url git https://[email protected]/wirya/xxx.git
  3. mask ke direktori project kemudian ubah URL dengan mengubah fileĀ .git/config
    [remote "origin"]
    url = https://[email protected]/wirya/namarepoxxx.git
    fetch = +refs/heads/*:refs/remotes/origin/*
  4. Verifikasi remote URL telah berubah, ketikan di pada terminal direktori project git remote -v