티스토리 뷰

728x90

If you want to copy other person's repository and move into your own github repository,

follow this command in your terminal

1. git clone repository-address-you-want-to-get.git

2. cd repository-address-you-want-to-get

3. git remote set-url --push origin repository-your-own.git

4. git push --mirror

 

For example, if i want to copy repository from 'https://github.com/ljykevin3882/Tayong' (FROM)

And I make repository for copy, https://github.com/YEOMJINSEOP/Tayong (TO)

 

Open the terminal and Type commands below.

 

1. git clone https://github.com/ljykevin3882/Tayong.git

2. cd https://github.com/ljykevin3882/Tayong

3. git remote set-url --push origin https://github.com/YEOMJINSEOP/Tayong.git

4. git push --mirror

 

Then, you can see files from other's repo in your own repo!

728x90
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2025/01   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함
250x250