SlideShare a Scribd company logo
비개발자를 위한 Git 과
Github Page 블로그 만들기
안수빈(@subinium)
65차
@subinium (# )
SW 10
(2020.01)
: Git Github,
Git
Github
Github Page
Git
GIt Idea
Easy Git
Github Sourcetree
Markdown
Github Page
https://git-scm.com/book/ko/v2
.
Git 기초
Git , ?
Git ?
2019_ 2019_ _ 2019_ _ 2
2019_ _ 2019_ _ 2019_ _
이런 상황 …
1 2 3
4 5 6
* :
1. : ?
2. : CMD / CTRL + Z ,
3. : N N
4. :
!
VCS (Version Control System, )
,
Delta
Snapshot ( )
: https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control
(CVCS) (DVCS)
Linux
(Linux)
DVCS BitKeeper
Linux Linus Tovalds
Linux
(Linux)
1991 2002 2005
Simple History of Git
File A
File B
File C
Version 1 Version 2 Version 3 Version 4
Subversion (SVN)
ΔA1 ΔA2
ΔB1
ΔC1 ΔC2
CVCS(Central VCS, )
Git
DVCS,
,
File A
File B
File C
Version 1
A1
C1
Version 2
A2
Version 3
B1
C2
Version 4
B’ B’
C1’
A2’
Git work ow .
3~4 :)
: https://knowyourmeme.com/photos/572093-how-to-draw-an-owl
Git
/ /
Easy Git
1
2
3
4
2
선언과 저장소 (Initialization & Repository)
Repo( )
( )
, , ,
Git
Git
Git은 이제 Local 에서 가능한 상태
local ( )
, Wi-Fi
Git은 데이터를 추가만 할 수 있다.
==
=> -1 == + (-1)
Git
하지만 Git은 파일을 추적하지 않는다.
Git X.
, .
X
About Page
Git
, ?
, .
Tracked
Untracked
Git
Git 3
Unmodified
Modified
Staged ( ) ( , Staging)
2
Git
(Staging)
(Commit)
Git
커밋 전, 스테이징이 필요한 이유 (1)
여러 작업 중, 일부분만 커밋해야할 때
#
( )
?
1.
2.
Git
커밋 전, 스테이징이 필요한 이유 (2)
커밋 전 상태를 수정 또는 체크할 때
#
,
?
Stage .
Git
Committed Committed
File A
234DE21~
File A
1AC3981~
Status
40 + ?!
Git
내용을 주소로 활용 (Content-addressable Key-Value Storage)
Key ,
( ) Hash
SHA1 40
* Hash :
Git
Commit Hash Checkout !
Git
https://www.sourcetreeapp.com/
Git ? NO!
GUI https://git-scm.com/downloads/guis
Terminal, git bash 등
.
https://git-scm.com/downloads
Github 실습하기
Github
DEEP
.
.
0.0.1 1.0.0 1.0.1
.
1.1.0
[A].[B].[C] . 3 .
.
[A] : Major :
[B] : Minor : ,
[C] : Patch :
?
NO!
.
그래서 나온 브랜치 (Branch)!
Master
Develop
[ ]
Github
.
프로젝트 총 관리자 및 시작자
닉 퓨리 시점
Git	초기화를	의미	로컬에서	진행git	init
.
master branch .
.git
.git
.
.
.gitignore
.gitignore
?
( ) .gitignore .
https://github.com/github/gitignore
README.md :
-
-
-
README.md
, , LICENSE + Repo Main Page
OpenSource PyTorch README
README.md :
1. ( / )
2.
3.
4.
5.
6.
7.
8.
9.
[file]을	스테이지로	올림,	폴더나	전체도	가능git	add	[file]
Unmodified
Modified
Staged
+ README.md
+ README.md
git	status git	diff
, ?
?
간단한	설명과	함께	commitgit	commit	-m	“add	README.md”	
+ README.md
/
.
(1 !)
이전	commit	기록	살펴보기git	log
/
commit, Date, Author, Message
commit : B191209~
Date : 19.1.1
Author : nick
Message : README
commit : 97A0725~
Date : 18.1.1
Author : nick
Message : README
commit : 1357248~
Date : 17.1.1
Author : nick
Message :
origin이라는	이름으로	[url]과	연결git	remote	add	origin	[url]
Origin/Master
+ README.md
. ( )
Master
원격	저장소	master	branch에	업데이트git	push	origin	master	
Origin/Master
+ README.md
Master
!
슈퍼 개발자
아이언맨 시점
Master
원격	저장소에서	다운로드git	clone	[url]
Origin/Master
.
master Commit ?
master , ?
Origin/Master
[name]	branch	만들기git	branch	[name]	
Master
suit
Origin/Master
/
[name]	branch로	이동하기git	checkout	[name]	
Master
.
suit
Origin/Master
[name]	branch를	현재	branch로	합친다git	merge	[name]
Master
suit
(master)
, push .
현실 Branch 마스터
닥터 스트레인지 시점
..
( ) ?
(2)
base를	master로	re-base한다git	rebase	master
Master
Base
future/
#14000605
Base
Master
rebase
완료된	branch를	지웁니다.git	branch	-d	[name]
Master
future/
#14000605
future/
#14000604
future/
#14000603
branch
프로젝트 리더
캡틴 아메리카 시점
.
PUSH
/master /master
2 .
Pull Fetch . .
PULL / FETCH
: Fetch
원격	저장소와	동기화git	fetch
Origin/Master
Master
FETCH_HEAD
?
: PULL
MasterOrigin/Master
. (fetch + merge)
원격	저장소와	동기화하고	mergegit	pull
?
(Con ict)
Commit (reset, revert),
잘못하고 눈치보는
스파이더맨 시점
? .
, clone
.
RESET!
Master
Branch	이후	기록을	없애자git	reset	[option]	[branch]
, reset !
! (Hard, Mixed, Soft)
Reset
Master
.
Master
수정한	기록도	남기자git	revert	[branch]
,
revert
Revert
Master
Branch ?
현재	작업하고	있는	작업물을	따로	저장하기git	stash
, branch ?
!
Working Directory Stash
Stash
Apply
기여하고 싶은
그루트 시점
fork
upstream/Master
따로	명령어	없음.	사이트에서	할	수	있음
Origin/Master
Master
Fork
Remote Remote
PUSH
I am groot
PUSH ?
.
?
Fork
Clone + Remote
Branch
add, commit, push
: https://wayhome25.github.io/git/2017/07/08/git- rst-pull-request-story/
Pull Request(PR)
Code Review
Merge PR
Merge
branch
Groot : I am Groot( )
Avengers : ;;
Avengers : ? :
Pull Request
Github Workflow
branch ?
Github Page 활용하기
Github Page + Jekyll
!
Markdown
, HTML .
Markdown Editor
Visual Studio Code
Markdown-preview-enhanced
Title
bold, italic, Quote
List
Table
link, image
Code (Highlight)
Formula (KaTex, MathJax)
Diagram (Mermaid)
꾸준하게 Commit을 쌓는 방법
1. TIL (Today I Learned) :
2. Jekyll Blog :
: http://planetozh.com/blog/
Github
Ruby Ruby
개인적으로 블로그 관리는 CLI를 추천
Mac, Ubuntu terminal, Windows Cmd with Ruby
https://jekyllrb.com/docs/installation/windows/
1. Theme Repo Clone / Fork
2. Jekyll
3. setting : _con g.yml
4.
5. About
Github Theme
Minimal mistake
Github Page
= Good for Custom
Theme
https://github.com/RyanFitzgerald/devportfolio
Jekyll
_con g.yml :
_posts :
_pages :
_includes :
_layouts :
assets : image, css
index.html :
Liquid Tag
https://shopify.github.io/liquid/basics/introduction/
Front End
MathJax
Post Setting
Title
Category
Tag
Permalink
TOC (Table of Contents)
Sidebar
Overlay Image / Teaser
About Page (CV)
=
Portfolio, Resume
http://woowabros.github.io/experience/2017/07/17/resume.html
https://sujinlee.me/professional-github/
1. 왜 써야할까
쓰기 힘든 이유

그래도 써야하는 이유
2. 누가 쓰고, 누가 볼까
개인과 다수

타겟 설정
3. 어떻게 써야할까
타입별 분석

세팅 : Editor + Image + Knowledge

4. 무엇을 써야할까
시작시, 필수 내용

기술블로그 5가지 주제

피드백 분석
5. 어디에 써야할까
사이트 별 간단 비교
6. 언제 써야할까
꾸준하게 쓰는 방법
Blogging OVERVIEW
1
2
3
4
5
6
Why?
Think About
왜 글을 쓸까? Self Branding & Study
Who?
Think About
누구와 글을 쓸 것이고, 누가 글을 읽을 것인가?
How?
Think About
어떻게 쓸 것인가? 최대한 적은 노력
What?
Think About
무엇을 써야할까? 나의 성장을 위한 글
Where?
Think About
어디에 쓸 것인가? 효율적인 공유
When?
Think About
어느정도 주기로 쓸까? 우선순위
: https://youtube.com/c/
: https://subinium.github.io
A.I. Lookbook : https://www.facebook.com/AI.Lookbook
: https://www.facebook.com/algoguide/
: https://www.facebook.com/shovelingdesignoper/
Thank You

More Related Content

PDF
Git을 조금 더 알아보자!
PPTX
工程師必備第一工具 - Git
PDF
Git Tutorial 教學
ODP
OpenDroneMap과 QGIS를 이용한 드론 영상처리 소개
PDF
Analyse d'un kernel (crash, core) dump
PPTX
OverlayFS を使って Raspberry Pi を Network Bootする
PDF
はじめてのGit forデザイナー&コーダー
PDF
Hardware Accelerated 2D Rendering for Android
Git을 조금 더 알아보자!
工程師必備第一工具 - Git
Git Tutorial 教學
OpenDroneMap과 QGIS를 이용한 드론 영상처리 소개
Analyse d'un kernel (crash, core) dump
OverlayFS を使って Raspberry Pi を Network Bootする
はじめてのGit forデザイナー&コーダー
Hardware Accelerated 2D Rendering for Android

What's hot (20)

PDF
ROS2勉強会@別府 第7章Pythonクライアントライブラリrclpy
PPTX
C# Applications | C# Applications For Beginners | Building C# Applications | ...
PDF
XDP in Practice: DDoS Mitigation @Cloudflare
PPTX
Effective Modern C++ 勉強会 Item 22
PDF
버전관리를 들어본적 없는 사람들을 위한 DVCS - Git
PDF
GAE/GoでWebアプリ開発入門
PDF
Spring 5でSpring Testのここが変わる_公開版
PPTX
이병철의 개발자 포트폴리오
PDF
[143] Modern C++ 무조건 써야 해?
PDF
지리정보체계(GIS) - [2] 좌표계 이해하기
PPTX
How to Easily Read and Write CityGML Data Using FME
PDF
Git branch stregagy & case study
PDF
[NDC16] Effective Git
PDF
차정민 (소프트웨어 엔지니어) 이력서 + 경력기술서
PDF
Composer 經典食譜
PDF
심성환 개발자 포트폴리오
PDF
みんなのPython勉強会#77 パッケージングしよう
PDF
GDB Rocks!
PPTX
GitHubの使い方
PDF
CPythonを読もう
ROS2勉強会@別府 第7章Pythonクライアントライブラリrclpy
C# Applications | C# Applications For Beginners | Building C# Applications | ...
XDP in Practice: DDoS Mitigation @Cloudflare
Effective Modern C++ 勉強会 Item 22
버전관리를 들어본적 없는 사람들을 위한 DVCS - Git
GAE/GoでWebアプリ開発入門
Spring 5でSpring Testのここが変わる_公開版
이병철의 개발자 포트폴리오
[143] Modern C++ 무조건 써야 해?
지리정보체계(GIS) - [2] 좌표계 이해하기
How to Easily Read and Write CityGML Data Using FME
Git branch stregagy & case study
[NDC16] Effective Git
차정민 (소프트웨어 엔지니어) 이력서 + 경력기술서
Composer 經典食譜
심성환 개발자 포트폴리오
みんなのPython勉強会#77 パッケージングしよう
GDB Rocks!
GitHubの使い方
CPythonを読もう
Ad

Similar to [T아카데미] 비개발자를 위한 Git과 Github Page 블로그 만들기 (20)

PDF
[오픈소스컨설팅] Docker를 활용한 Gitlab CI/CD 구성 테스트
PDF
Git 더하기 GitHub(구름IDE 환경)
PDF
Git 더하기 GitHub(Git클라이언트 활용) / Getting started with git+github
PPTX
Git lecture2
PDF
Git Tutorial
PDF
git-workflow
PDF
Git Merge - 여러 브랜칭 시나리오 소개: 2022년 7월 8일 Git 세미나
PPTX
오픈소스 공헌을 위한 필수 지식
PDF
[VCS] Git&GitLab_Designer
PPTX
Git lecture1
PDF
Git: A Motivating Introduction
PDF
XECon2015 :: [1-3] 김덕홍 - Git Workflow with GitHub
PDF
Gitlab.key
PPTX
Git 기본
PPT
Git from google techtalks by Randal
PDF
Git 코드랩 스터디 1
PDF
postgres_빌드_및_디버깅.pdf
PDF
Git & GitHub
PPTX
[오픈소스컨설팅] Docker를 활용한 Gitlab CI/CD 구성 테스트
Git 더하기 GitHub(구름IDE 환경)
Git 더하기 GitHub(Git클라이언트 활용) / Getting started with git+github
Git lecture2
Git Tutorial
git-workflow
Git Merge - 여러 브랜칭 시나리오 소개: 2022년 7월 8일 Git 세미나
오픈소스 공헌을 위한 필수 지식
[VCS] Git&GitLab_Designer
Git lecture1
Git: A Motivating Introduction
XECon2015 :: [1-3] 김덕홍 - Git Workflow with GitHub
Gitlab.key
Git 기본
Git from google techtalks by Randal
Git 코드랩 스터디 1
postgres_빌드_및_디버깅.pdf
Git & GitHub
Ad

More from Subin An (15)

PDF
Image data augmentatiion
PDF
T ka kr_4th
PDF
Datasheets for dataset
PDF
Voice Conversion : Audio알못에서 VCC2020참가까지
PDF
[Keynote로 이해하는 GAN들] DCGAN
PDF
[Keynote로 이해하는 GAN들] Vanilla GAN
PDF
Pytorch Implementation : 파일을 어떻게 나눠야할까?
PDF
알고리즘, 어떻게 공부할까?
PDF
Introduction to CNN
PDF
청소년때 블로그를 써야하는 이유
PDF
2nd DLCAT : Newbie Guide to Blogging
PDF
2019 고려대학교 프로그래밍 경시대회 풀이
PDF
Global AI Boot Camp Busan : 이왕이면 다홍 데이터 (Python Visualization)
PDF
2018 고려대학교 프로그래밍 경시대회 KCPC 간략 풀이
PDF
[수비니움의 머신러닝 튜토리얼] 1강 기본용어편
Image data augmentatiion
T ka kr_4th
Datasheets for dataset
Voice Conversion : Audio알못에서 VCC2020참가까지
[Keynote로 이해하는 GAN들] DCGAN
[Keynote로 이해하는 GAN들] Vanilla GAN
Pytorch Implementation : 파일을 어떻게 나눠야할까?
알고리즘, 어떻게 공부할까?
Introduction to CNN
청소년때 블로그를 써야하는 이유
2nd DLCAT : Newbie Guide to Blogging
2019 고려대학교 프로그래밍 경시대회 풀이
Global AI Boot Camp Busan : 이왕이면 다홍 데이터 (Python Visualization)
2018 고려대학교 프로그래밍 경시대회 KCPC 간략 풀이
[수비니움의 머신러닝 튜토리얼] 1강 기본용어편

[T아카데미] 비개발자를 위한 Git과 Github Page 블로그 만들기