Created
July 9, 2018 14:31
-
-
Save gistee/ea85879861e86341ae433f5499ee6154 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# index action을 가진 Welcome Controller 만들기 | |
cd blog | |
./bin/rails generate controller Welcome index | |
# 현재의 git branch 목록 확인 | |
git branch | |
# develop branch를 추가하고 branch로 commit 하기 | |
git branch develop | |
git branch -a | |
# develop branch로 switch 하기 | |
git checkout develop | |
git branch | |
# develop branch로 commit 하기 | |
git add . | |
git commit -m "add welcome controller" | |
# git에 commit한 이력 확인 | |
git log | |
# github에 develop branch 생성하고 commit 하기 | |
git push --set-upstream origin develop | |
# Sourcetree를 통한 develop remote branch 확인과 merge 실행 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment