Remove

Git中remove操作

Push an existing repository from the command line

1
2
3
4
5
$ cd <file_name>
$ git init
$ git remote add origin git@github.com:Wayne299/x.git
$ git add <file_name>
$ git push -u origin master

fatal: 远程 origin 已经存在

1
2
$ git remote rm origin
$ git remote add origin <SSH_Key>
文章目录
  1. 1. Git中remove操作
    1. 1.1. Push an existing repository from the command line
    2. 1.2. fatal: 远程 origin 已经存在