Created
September 26, 2012 07:11
-
-
Save zernel/3786541 to your computer and use it in GitHub Desktop.
Git tips
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
1 服务器上: | |
2 git init --bare --shared reggin.git | |
3 本地: | |
4 git remote add origin [email protected]:/home/dev/repos/xxxx.git |
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
git log | grep tageditor -5 | |
git show 那个commit no就可以看到他的提交了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment