初心者のメモ

Python enthusiast

Git cloneからPull Requestまでの流れ

1. リモートレポジトリをローカルにclone

git clone origin https://github.com/xxxxx/xxxx.git

2. ローカルレポジトリで新しくブランチを追加、チェックアウト

git checkout -b feature/xxxxxxx

現在のブランチを確認

git branch

3. コーディングしたらadd、commit

git add xxx
git commit -m "xxxxx"

4. ローカルできったブランチをリモートレポジトリにプッシュ

git push origin feature/xxxxxxx

5. プルリクエス

githubで簡単にできるので省略

参考