クイックキャンパス百万バイト学校Day 4(木曜日-Git,GitHub 3)
4306 ワード
Today Topic : Branch
🗝 Keywords
✅ README.md
✅ .gitignore
✅ Licence
✅ Repository
✅ Branch merge
✅ GitFlow
✅ GitRevert
1.レジストリの設定
1-1) README.md

1-2)ライセンス

1-3) .gitignore
これにより、
🚀 gitignoreの使用例


2.ブランチ
2-1)ブランチの作成
git branch 브랜치명
git switch 브랜치명
git branch -a
git branch -D 브랜치명
touch 파일명
mv 파일명 변경명
cat 파일명
🚀 解説git branchブランチ名:新しいブランチの作成
git switchブランチ名:ブランチの交換
git branch-a:すべてのブランチを表示
git branch-dブランチ名:ブランチの削除
touchファイル名:ファイルの作成
mvファイル名変更:ファイル名の名前変更
catファイル名:ファイルプレビュー
2-2)分岐滞留
🚀 ブランチの滞留時に競合


🚀 注意!
2-4)Remoteに存在しないブランチでプッシュしたい場合は、
git push -u origin 브랜치명

3) Git Flow
3-1)ブランチモデル

🚀 GitFlow strategy

3-2)Git Flowのインストールと運用

Gitflowの使い方
4. GitRevert
mv 브랜치명 변경명 (deleted, new file)
git mv 브랜치명 변경명 (renamed)
🚀 解説Gitmvを使用して
git restore 브랜치명
git reset HEAD 브랜치명
🚀 解説
5.Github実習
5-1) Fork / Clone
インポートするGithubアドレスのリポジトリに入り、右上のForkボタンを押して

5-2) Pull Request

Reference
この問題について(クイックキャンパス百万バイト学校Day 4(木曜日-Git,GitHub 3)), 我々は、より多くの情報をここで見つけました https://velog.io/@ctaaag/패스트캠퍼스-메가바이트스쿨-Day4-1주차-목요일-Git-GitHub-3テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol