Blog

[Git] 설명없음 그냥 쓰다보니 외운 CLI 기본 명령어

Author
Summary
그냥 처음 프로젝트만들고 하는것 깃명령어 외운것
Category
Study
Tags
Git
Favorite
Memory Date
2023/08/25
Cross Reference Study
Related Media
Related Thought
Related Lessons
tag
날짜
작성자
진행상황
진행 전
태그구분
6 more properties
git init
git add .
git status
git commit ← template 적용해둠, 소환! or git commit -m “chore : First init” 강제 입력
git remote add origin <Github url>
git push --set-upstream origin master
git switch -c <function name>
git switch <function name>
cloning
gh auth login
when logined with browser.
gh repo clone yzpocket/javajungsuk3
.gitignore rm
git ls-files -c
git rm src/main/resources/application.properties --cached
.gitignore 재작성
git ls-files -t
git ls-files -t —others
git add .
git commit -m “docs : Untrack <Untracked file> reason”