biseo-git

Similar documents
github_introduction.key

PowerPoint 프레젠테이션

PowerPoint Presentation

슬라이드 1

git CLI 로간단하게조작하기! by 윤선지

슬라이드 1

리눅스기초

슬라이드 1

Software Verification Team 오준 임국현 주영진 김슬기

슬라이드 1

<3833C8A35FB0F8C7D05FC6AEB7BBB5E55F F466C6F77B8A65FC8B0BFEBC7D15FC8BFB0FAC0FBC0CE5FBCD2BDBA5FC7FCBBF35FB0FCB8AE5F F322E687770>

문서의 제목 나눔고딕B, 54pt

다. 최신 버전의 rpm 패키지 버전을 다운로드해 다음과 같이 설 치한다. 단 debuginfo의 rpm 패키지는 설치할 필요가 없다. 하기 위한 옵션이고, init는 저장소를 초기화하기 위한 cvs 명령 어이다. - 새로 설치한 경우 : rpm -ivh cvs* -

PRO1_02E [읽기 전용]

06/09-101È£ä263»Áö

04/07-08(È£ä263»Áö

<31332DB9E9C6AEB7A2C7D8C5B72D3131C0E528BACEB7CF292E687770>

Microsoft PowerPoint - 08_(Linux)_(Fundamental)_Version_Control_Systems

네이버 오픈소스 세미나 key

PowerPoint 프레젠테이션

08/11-12<È£ä263»Áö

08/09-10;È£ä263»Áö

<3836C8A35FB0F8C7D05FC6AEB7BBB5E55F F466C6F77B8A65FC8B0BFEBC7D15FC8BFB0FAC0FBC0CE5FBCD2BDBA5FC7FCBBF35FB0FCB8AE5F F332E687770>

untitled

PowerPoint 프레젠테이션

슬라이드 1

SourceTree 를이용한 Git 사용법 1

,,,,,, (41) ( e f f e c t ), ( c u r r e n t ) ( p o t e n t i a l difference),, ( r e s i s t a n c e ) 2,,,,,,,, (41), (42) (42) ( 41) (Ohm s law),

Analyst Briefing

PowerPoint 프레젠테이션

chapter4

PowerPoint 프레젠테이션

LXR 설치 및 사용법.doc

Title Layout

슬라이드 1

GIT/GITHUB 사용 1 Git & GitHub 튜토리얼 출처 : [Studio Rini ] Git 을보통어떻게사용하는지간략한 Flow 를보겠습니다. 1. 새프로젝트를생성, 프로젝트폴더에 g

화판_미용성형시술 정보집.0305

svn 을능숙하게다루던능력자들처음 git 을만나면대게이런표정이죠.

01Àå

Portal_9iAS.ppt [읽기 전용]

Smart Power Scope Release Informations.pages

MPLAB C18 C

/ KOSSLab


목차 1. 제품 소개 특징 개요 Function table 기능 소개 Copy Compare Copy & Compare Erase

PowerPoint Presentation

매력적인 맥/iOS 개발 환경 그림 A-1 변경 사항 확인창 Validate Setting... 항목을 고르면 된다. 프로젝트 편집기를 선택했을 때 화면 아 래쪽에 있는 동일한 Validate Settings... 버튼을 클릭해도 된다. 이슈 내비게이터 목록에서 변경할

UNIST_교원 홈페이지 관리자_Manual_V1.0

untitled

본교재는수업용으로제작된게시물입니다. 영리목적으로사용할경우저작권법제 30 조항에의거법적처벌을받을수있습니다. [ 실습 ] 스위치장비초기화 1. NVRAM 에저장되어있는 'startup-config' 파일이있다면, 삭제를실시한다. SWx>enable SWx#erase sta

PowerPoint 프레젠테이션

09/01-02=È£ä263»Áö

ETL_project_best_practice1.ppt

MS-SQL SERVER 대비 기능

JTS 1-2¿ùÈ£ ³»Áö_Ä÷¯ PDF¿ë

Index

슬라이드 1

Intro to Servlet, EJB, JSP, WS

슬라이드 1

Remote UI Guide

Microsoft Word - FunctionCall

Eclipse 와 Firefox 를이용한 Javascript 개발 발표자 : 문경대 11 년 10 월 26 일수요일

BK21 플러스방법론워크숍 Data Management Using Stata 오욱찬 서울대사회복지학과 BK21 플러스사업팀

Tablespace On-Offline 테이블스페이스 온라인/오프라인

쿠폰형_상품소개서


chungo_story_2013.pdf

*중1부

2

Çѱ¹ÀÇ ¼º°øº¥Ã³µµÅ¥

...._


전반부-pdf

<4D F736F F F696E74202D20312E20B0E6C1A6C0FCB8C15F3136B3E2C7CFB9DDB1E25F325FC6ED28C0BA292E >

_

12월월간보고서내지편집3

에너지포커스 2007년 가을호


01_당선자공약_서울

인권문예대회_작품집4-2




목차

A°ø¸ðÀü ³»Áö1-¼öÁ¤

±¹³»°æÁ¦ º¹»ç1

¿¡³ÊÁö ÀÚ¿ø-Âü°í ³»Áö.PDF

전반부-pdf

뉴스레터6호

Microsoft PowerPoint 하반기 크레딧 전망_V3.pptx

50차 본문 최종

³»Áöc03âš

fsb9¿ù³»ÁöÃÖÁ¾Ãâ

¾ç¼º-¾÷¹«Æí¶÷-³»¿ëÃà¼Ò4

전도대회자료집

< DBAB4B9ABC3BB5FBAB9B9ABB0FCB8AEB8C5B4BABEF32D33B1C72E706466>

<3344C7C1B8B0C6C320BFE4BEE02D E706466>

µ¶ÀÏÅëÀÏÁý1~2Æíq36£02Ð


자식농사웹완

Transcription:

seminar paco @ 2021.03.23

목차 git Github 기본적인명령어들 Pull Request

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and ef iciency f source

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and ef iciency f source

- 왜쓸까? -

source

버전관리란? source

버전관리란? 1. 소스코드의변경사항을추적 2. 원활한협업수단제공 source

버전관리란? 1. 소스코드의변경사항을추적 2. 원활한협업수단제공 3. 저장소역할 source

버전관리툴은다양하다 Apache Subversion (SVN) Mercurial Concurrent Versions System (CVS) GNU Bazaar 등등많더라구요

버전관리툴은다양하다 Distributed?? Apache Subversion (SVN) Mercurial Concurrent Versions System (CVS) GNU Bazaar 등등많더라구요

버전관리툴은다양하다 Apache Subversion (SVN) Mercurial Distributed?? 참고 1 ( 블로그 ) 참고 2 ( 위키피디아 ) Concurrent Versions System (CVS) GNU Bazaar 등등많더라구요

source

GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.

GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere. git 을이용해협업을용이하게해주는플랫폼! 많은프로젝트들의 central repository 를호스팅하고있다

GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere. git 을이용해협업을용이하게해주는플랫폼! 많은프로젝트들의 central repository 를호스팅하고있다 source source source

기본적인명령어들

git workflow source

git add git add [options] <path> - Add file contents to the index - index! -A all -p patch -e edit

git commit git commit [options] - record changes to the repository - repository -a amend -m <msg> message=<msg>

About Commit Messages source

About Commit Messages 여러개발자들이협업을하는경우 commit message 의틀을맞추어두는경우가많 다. source

About Commit Messages 여러개발자들이협업을하는경우 commit message 의틀을맞추어두는경우가많 다. 변화를쉽게파악 로그자동생성 source

About Commit Messages 여러개발자들이협업을하는경우 commit message 의틀을맞추어두는경우가많 다. 변화를쉽게파악 로그자동생성 노션페이지참고하기!! source

git add. 가습관이되셨나요? 습관이되셨다면바람직하지않습니다!!

git add. 가습관이되셨나요? 습관이되셨다면바람직하지않습니다!! Q: 현재 directory 에있는모든변경사항들이한 commit 에들어갈만한내용인가??

git add. 가습관이되셨나요? 습관이되셨다면바람직하지않습니다!! Q: 현재 directory 에있는모든변경사항들이한 commit 에들어갈만한내용인가?? 1. feature A 기능개발시작 2. feature A에서사용해야하는 feature B에서버그발견 3. feature B 버그수정 4. feature A 기능구현

git branch git branch [options] - List, create, or delete branches - -d delete -l list -a all <branch-name>

feature branch git branch! feature/xxx source

git checkout git checkout [options] <branch commit> - Switch branches or restore working tree files - <commit> <branch-name> -b <filename>

git checkout git checkout [options] <branch commit> - Switch branches or restore working tree files - <commit> <branch-name> -b git checkout. 2019 8, git 2.23 switch restore. <filename>

git log git log [options] - Show commit logs - commit all decorate oneline graph source

git remote git remote <command> - Manage set of tracked repositories - repository add <name> <repository> remove <name> rename <old> <new> -v verbose

git push git push [options] <repository> - Update remote repository along with associated changes - repository -u set-upstream -d delete -f force

git pull git pull [options] <repository> - Fetch from and integrate with another repository or a local branch - repository local repository -r rebase

git merge git merge [options] - Join two or more development histories together - GitHub Pull Request!!

git merge - Fast Forward Merge - fast-forward 가능! source - Three Way Merge - fast-forward 불가능! Merge Commit 생김! source

Merge Conflicts File A 의 Line 1 수정 변경사항이다르다면어떤것을선택해야할까? File A 의 Line 1 수정 Merge Conflict!

Merge Conflicts 같은코드를수정하는것은불가피하지만, 피할수있으면피하자! 분업을통해일정부분해결가능

Common Workflow 1. feature branch 생성 2. 열심히개발 3. 적절한단위로 add & commit 4. remote 브랜치로 push 5. Pull Request 생성 6. Merge

Pull Request Description: Merge 하고자하는 branch 가반영한변경사항설명 Assignees: 해당기능을담당한유저 ( 들 ) Reviewers: Pull Request 를검토할유저 ( 들 ) Pull Request 생성이후에도 commit 추가가능! Files Changed와 Commit 탭을통해변경사항확인가능! 댓글달기가능! 파일둘러본뒤 Approve 가능!

Pull Request

Merge 이후에 Github 에서호스팅하는 Central Repository 가변경되었기때문에 로컬에있는 repository 와의동기화필요. 변경된브랜치로이동해 git pull 실행!

다루지못한명령어들 rm reset switch store rebase stash clone diff blame cherry-pick mv fetch init config 100 https://github.com/git/git/blob/master/git.c#l477-l615

질문있나요?

감사합니다