-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGitHubFeedback.txt
44 lines (34 loc) · 1.64 KB
/
GitHubFeedback.txt
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
32
33
34
35
36
37
38
39
40
41
42
43
git
- Local tool installed on your computer
- Version control for web development projects
- Organized in "repositories"
GitHub
- Cloud hosting provider for "Git repositories"
- Collaboration in & contribution to web development projects
- The world's largest development platform
#GitHub
GitHub에 보내기
git remote add origin URL
- 깃과 깃허브 사이에 연결을 할 수 있도록 한다. 여기서 origin은 URL을 가리킨다
git push -u origin main
- u는 생략해도 된다
개인 인증 토큰 지우기
git credential reject
host=github.com
protocol=https
git clone URL ('띄어쓰기.'을 추가하면 폴더 안에 하위 폴더를 생성)
- 존재하는 원격 저장소의 컨텐츠를 로컬 저장소에 복제
- git clone시 논리를 포함해서 저장소 전체를 복사하기에 git init가 필요가 없다.
공동 작업
- 비공개의 경우 해당 Repository GitHub
settings → Manage access → Invite a collaborator → 이름
으로 초대
로컬 레포지토리 업데이트
git pull
프로젝트의 코드를 처음으로 내 컴퓨터에 가져오려면 git clone을 사용하고, 이미 로컬에 프로젝트가 있고 그것을 최신 상태로 유지하려면 git pull을 사용
folk
- 우리의 계정에 repository 복사본을 생성
pull request
- 소유자에게 깃허브에서 변경한 사항을 가져와서 깃허브의 프로젝트에 구현하도록 요청하는 것
- New pull request (왼쪽: 본 소유자 repository 오른쪽: 우리 repository) → Create pull request
- 소유자는 pull request 에 들어가서 동의하지 않는 경우 Close pull request 동의하는 경우 Merge pull request