I want to create a git (web) browser, hence I need to iterate over commits (git log
) on remote repository which is on ssh connected machine.
My repo is quite big and constantly changing, therefore I will be interested in not fetching changes locally only to git log
them.
I have tried with:
git remote add origin ssh://example.net/repo
git checkout -b master --track origin/master
and it failed :
怎么做?