Git
-
How to backtrack in GitGit 2021. 10. 18. 13:59
Git에서 수정사항을 되돌리는 방법에 대한 정리글입니다. To see the most recently made commit. The Commit you are currently on is the HEAD commit.(in many case, the most recently made commit) ex) $ git show HEAD commit cc09c926c4db753354b5b66755dfaa25fecfbca8 Author: codecademy Date: Mon Oct 18 02:44:16 2021 +0000 Complete the ghosts line diff --git a/scene-5.txt b/scene-5.txt index b12dd97..5dd5d4e 1006..
-
Introduction to GitGit 2021. 10. 18. 11:38
Git의 기본 개념 및 문법 Git is a software that allows you to keep track of changes made to a project over time. Git works by recording the changes you make to a project, storing those changes, then allowing you to reference them as needed. To turn the project directory into a Git project. The word 'init' means initialize. $ git init # result example Initialized empty Git repository ..
-
Git WorkflowGit 2021. 10. 18. 11:37
Git을 활용한 Workflow 정리 1. Git : 소스 코드 기록을 관리하고 추적할 수 있는 버전 관리 시스템 2. GitHub : Git Repository를 관리할 수 있는 클라우드 기반 서비스 - 이미 존재하는 Project(Repository) 1. 다른 Remote Repository를 내 Remote Repository로 가져오기 : GitHub접속 후 가져올 Remote Repository 접속 -> 우측 상단의 Fork 클릭 2. 내 Remote Repository에 있는 코드를 Local Repository(내 컴퓨터)로 가져오기 git clone # example git clone https://github.com/tkdgns2..