Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gistee/ea85879861e86341ae433f5499ee6154 to your computer and use it in GitHub Desktop.
Save gistee/ea85879861e86341ae433f5499ee6154 to your computer and use it in GitHub Desktop.
# 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