Skip to content

Instantly share code, notes, and snippets.

@daihuaye
Last active August 29, 2015 14:08
Show Gist options
  • Select an option

  • Save daihuaye/59d937cda3e4f3a6b3db to your computer and use it in GitHub Desktop.

Select an option

Save daihuaye/59d937cda3e4f3a6b3db to your computer and use it in GitHub Desktop.
Some useful command
$ git checkout -b serverfix origin/serverfix
Branch serverfix set up to track remote branch serverfix from origin.
Switched to a new branch 'serverfix'
How to see git log of someone who commit during date range
For example: I want to see all commits from "daihuaye" on 2/25/2015
$ git log --after="2015-2-25 00:00" --before="2015-2-25 23:59" --author="daihuaye"
Set ruby gem to current ruby version (guidevine) fix issue of bundle install
$ rvm rvmrc to ruby-version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment