Last active
August 29, 2015 14:16
-
-
Save kitsuyui/1310d16078f927c19fa1 to your computer and use it in GitHub Desktop.
ローカルの Git リポジトリ消して大丈夫? を確かめる ref: http://qiita.com/kitsuyui/items/e9f04013078e0d31be5a
This file contains hidden or 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
Bitbucket や GitHub に複製があれば良いので、しばらく使っていない不要なローカルリポジトリは消してしまおうかな。 | |
でも「全ての必要なファイルは復旧できること」「消してしまうファイルは不要なものだけであること」はちゃんと確認したいな。 |
This file contains hidden or 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
$ git status --porcelain | |
$ |
This file contains hidden or 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
$ git log --branches --not --remotes=origin | |
$ |
This file contains hidden or 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
$ git log --branches --not --remotes=origin --remotes=origin2 | |
$ |
This file contains hidden or 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
$ find . -type f -print | xargs git check-ignore | |
./.DS_Store | |
./.python-version | |
./bin/.DS_Store | |
./bin/__pycache__/main.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment