깃허브란?


HTML

GitHub는 협업 및 버전 제어를 위한 코드 호스팅 플랫폼입니다.

GitHub를 사용하면 사용자(및 다른 사용자)가 프로젝트에서 함께 작업할 수 있습니다.


https://github.com/에서 GitHub에 가입하세요.

깃허브

GitHub 필수 사항은 다음과 같습니다.

  • 저장소
  • 지점
  • 커밋
  • 풀 리퀘스트
  • Git(버전 제어 소프트웨어 GitHub가 구축됨)

예시

$ git push origin heroku
$ cd /etc/
$ ls

저장소

GitHub 저장소 를 사용하여 개발 프로젝트 를 저장할 수 있습니다 .

여기에는 폴더 와 모든 유형의 파일 (HTML, CSS, JavaScript, 문서, 데이터, 이미지)이 포함될 수 있습니다.

GitHub 리포지토리에는 프로젝트에 대한 라이선스 파일과 README 파일도 포함되어야 합니다.

GitHub 리포지토리는 공유하려는 아이디어 또는 리소스를 저장하는 데 사용할 수도 있습니다.


나뭇 가지

A GitHub branch is used to work with different versions of a repository at the same time.

By default a repository has a master branch (a production branch).

Any other branch is a copy of the master branch (as it was at a point in time).

New Branches are for bug fixes and feature work separate from the master branch. When changes are ready, they can be merged into the master branch. If you make changes to the master branch while working on a new branch, these updates can be pulled in.


Commits

At GitHub, changes are called commits.

Each commit (change) has a description explaining why a change was made.


Pull Requests

Pull Requests are the heart of GitHub collaboration.

With a pull request you are proposing that your changes should be merged (pulled in) with the master.

Pull requests show content differences, changes, additions, and subtractions in colors (green and red).

As soon as you have a commit, you can open a pull request and start a discussion, even before the code is finished.

A a great way to learn GitHub, before working on larger projects, is to open pull requests in your own repository and merge them yourself.

You merge any changes into the master by clicking a "Merge pull request" button.

깃허브

After merging you can delete the branch by clicking a "Delete branch button".

깃허브