티스토리 뷰
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
'⬛️ Git' 카테고리의 다른 글
[Git] 티스토리 예쁜 코드 블럭을 넣어보자(Github gist ) (0) | 2023.01.09 |
---|---|
[Git] 새로운 레포지토리(repository) 만들고 push하기 (0) | 2022.12.28 |
[Git] 협업 레포지토리를 내 레포지토리로 가져오기 (0) | 2022.12.19 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- error
- 자바스크립트
- Browser
- BOJ
- useState
- 파이썬
- Context API
- git
- CSS
- 리액트
- react
- DOM
- Component
- zustand
- mdn
- 자료구조
- 데이터베이스
- JavaScript
- leetcode
- Python
- React Query
- DB
- state
- 브라우저
- github
- 에러
- 함수
- 그래프
- 정렬
- 알고리즘
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함
250x250