Skip to content

Instantly share code, notes, and snippets.

@zernel
Created September 26, 2012 07:11
Show Gist options
  • Save zernel/3786541 to your computer and use it in GitHub Desktop.
Save zernel/3786541 to your computer and use it in GitHub Desktop.
Git tips
1 服务器上:
2 git init --bare --shared reggin.git
3 本地:
4 git remote add origin xxx@git.xxx.xx:/home/dev/repos/xxxx.git
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