Created
February 27, 2015 03:25
-
-
Save kenzo0107/5e4705a52652da0ba32e 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
# svnでは編集中だったけど、元の最新リビジョンに戻したい場合、 | |
# 一度削除してsvn updateでファイルを復活させてる場面をよく見かけました。 | |
# gitでは以下のようにします。 | |
# ファイル指定し最新リビジョンに戻したい場合 | |
git checkout (ファイル名) | |
# 全て元したい場合 | |
git checkout . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment