I am looking to do the following using NGit, but after nearly a full day am completely lost:
- Create an empty repo
- Add a remote "origin" using a URL and credentials
- Run Ls-Remote to get the latest hashes of the
master
branch onorigin
If anyone could show me an example of this in action I'd greatly appreciate it