Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. # Github の repository folk 後に、打つコマンド
  2.  
  3. ## remote リポジトリを upsteam ブランチとして追加
  4. ```console
  5. git remote add upstream git://git.apache.org/wicket.git
  6. ```
  7.  
  8. ## ブランチのリスト取得 upstream が作成されたことを確認
  9. ```console
  10. git branch -a
  11. ```
  12.  
  13. ## 開発ブランチ作成
  14. ```console
  15. git branch development
  16. ```
  17.  
  18. ## 開発ブランチ切り替え
  19. ```console
  20. git checkout development
  21. ```
  22.  
  23. ## リモートmaterの変更に追従
  24. ```console
  25. git fetch upstream
  26. git merge upstream/master
  27. ```
  28.  
  29. ## 開発ブランチのソースをローカルmasterにマージ
  30. ```console
  31. git checkout master
  32. git merge --squash development
  33. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement