Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
FOSS-lab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parkjiyoung
FOSS-lab
Commits
528d3976
Commit
528d3976
authored
2 years ago
by
parkjiyoung
Browse files
Options
Downloads
Patches
Plain Diff
11/14
parent
eb366770
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+12
-0
12 additions, 0 deletions
README.md
with
12 additions
and
0 deletions
README.md
+
12
−
0
View file @
528d3976
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
원 프로젝트에 merge 요청 가능
원 프로젝트에 merge 요청 가능
-
git init : 비어있는 git Repository만들기
-
git init : 비어있는 git Repository만들기
-
git config --global : ~/.gitconfig에 정보 저장
-
git config --global : ~/.gitconfig에 정보 저장
--user : 이 프로젝트의 .git 디렉터리 밑에 정보 저장
-
git status : unmodified된 파일을 알려줌
-
git status : unmodified된 파일을 알려줌
-
git add : stage에 올라감
-
git add : stage에 올라감
...
@@ -22,3 +23,14 @@
...
@@ -22,3 +23,14 @@
-git pull : 자동으로 합쳐지지 않음
-git pull : 자동으로 합쳐지지 않음
-git merge : 자동으로 합쳐짐
-git merge : 자동으로 합쳐짐
같은 파일을 고치고 있다면 merge를 사용해서 충돌을 방지해야함
같은 파일을 고치고 있다면 merge를 사용해서 충돌을 방지해야함
-
git diff : commit 상태와 add 안된 파일의 내용 차이를 보여줌
-
git diff --staged : commit 상태와 add했지만 commit 안된 파일(=staged)의 내용 차이를 보여줌
-
커밋 번호는 hash로 이루어져 있음 (=기하학적 불변이론)
-
HEAD -> main : 현재 브랜치 나타냄
-
origin/main, origin/HEAD : 웹 git의 레포지터리 위치
HEAD -> main이 더 위에 있다면, commit만 하고 웹 서버에 push를 하지 않았다는 의미
-
git reset : staged 파일을 unstaged로 변경 ( But, 수정 내역은 그대로 남아있음 )
-
git reset --hard : staged 파일을 unstaged로 변경 ( 수정 내역도 전부 삭제 )
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment