Gitの使い方
1.リモートストレージ->ローカルストレージ
git clone .
2.ローカルストレージ→リモートストレージ
git init
>> git사용에 필요한 파일 생성(.git)
git remote add orgin 깃허브URL
>>원격저장소 remote 생성
git pull origin main
>>원격저장소의 main 브랜치 가져오기
+ Authentication
git remote set-url origin https://{발급받은access_token}@{깃허브URL}
git push --set-upstream origin main
git push[git push origin main]
3.競合管理方法
4. Pull Request
5.有用なgitコマンドの収集
git amend
>> 마지막 commit에서 파일 추가하거나 수정할 때 사용
git reset
>> 과거 commit으로 되돌릴 때 사용
git revert
>> 현재 commit의 수정사항을 되돌리는 commit 명령어
git stash
>> 로컬 저장소의 수정사항을 임시적으로 옮길 때 사용
git cherry-pick
>> 특정 commit 불러올 때 사용
6. GUI Tool
source tree
プロジェクトの進捗を分かりやすく可視化し、Gitの各種コマンドをGUIで提供するので、非常に便利です.
Reference
この問題について(Gitの使い方), 我々は、より多くの情報をここで見つけました https://velog.io/@y005/Git-사용방법テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol