GitとGithub
2549 ワード
どうしてネクタイなの?
一緒に仕事をするから...(コラボレーション)
分散バージョン管理システム
Commands
local
# 초기화
> git init
# 상태
> git status
# unstaged -> stage
> git add "example.py"
> git add .
# commit
> git commit -m "summary"
# commit 확인
>git log
# branch 확인
>git branch -v
# branch 생성
>git branch <branch_name>
# branch 전환
>git checkout <branch_name>
# brnach 병합
>git checkout master
>git merge <branch_name>
# branch 삭제
>git branch -d <branch_name>
remote(本格的なコラボレーション!)# 연결
>git remote add <별칭=origin> <remote주소>
# remote 확인
> git remote -v
# push
> git push <remote_repo_name> <branch_name>
> git push origin week3/이현규
# remote branch_name을 main으로 변경 (github 정책상 유용)
> git branch -M main
> git push origin main
ジョブの発行方法
今はこのリーダーを作るために長期的に見ると、ビジネスの準備性(?)
1.Fork(githubにインポート-コピー-)
# local에 clone
> git clone <주소> <별칭=repo_name>
# branch 생성 & 전환
> git branch week3/이현규
> git checkout week3/이현규
2. PushReference
この問題について(GitとGithub), 我々は、より多くの情報をここで見つけました https://velog.io/@hughqlee/Git과-Githubテキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol