Managing Someone Else's Repo

97 단어·1 분·원문(.md)

  1. First, receive an invitation as a collaborator.
  2. Accept the invitation in the email.

Importing Someone Else's Repo into My Repo #

  1. On my GitHub, create a new repository with the same name as the repository to be imported. At this time, do not initialize README, gitignore, or license.

  2. Clone the repository to be imported to your computer as follows.

git clone <url>
  1. Connect the cloned local repository to the new repository created in step 1.
git remote add origin <url>
  1. Then, proceed as follows.
 git branch -M main
 git push -u origin master
Back-End/git/pushR.md