study

Pro git – chapter 2

  • git reset HEAD^ : 최근 1개의 commit 취소
  • git reset HEAD~2 : 최근 2개의 commit 취소
  • git push origin +master : master의 내용이 origin의 내용에 비해 fast forward가 아니더라도 push함.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s