GitHub
https://scrapbox.io/files/633c3199ae75b4001db36f83.png
code: zsh
git remote add upstream
code: zsh
git fetch upstream
code: zsh
git merge upstream/master
code: zsh
git merge origin main
code: zsh
git commit --amend -m ""
code: zsh
git push --force origin
code: zsh
- folk されてるリポジトリをリモートに追加
- リモートからフェッチ
- 特定のブランチをチェックアウト
git checkout -b 作成するブランチ名 適当な名前/ブランチ名 code: txt
feat: A new feature
fix: A bug fix
docs: Documentation only changes
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
refactor: A code change that neither fixes a bug nor adds a feature
perf: A code change that improves performance
test: Adding missing or correcting existing tests
chore: Changes to the build process or auxiliary tools and libraries such as documentation generation