Home > Android > [Git] Xử lý lỗi “fatal: remote origin already exists”

[Git] Xử lý lỗi “fatal: remote origin already exists”

Nếu bị lỗi như trên khi thực hiện lệnh git remote add, ta cần rm trước đã

git remote rm origin
git remote add origin git@github.com:username/myapp.git
Advertisements
Categories: Android
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: