Skip to content

Conversation

yorah
Copy link
Contributor

@yorah yorah commented Mar 28, 2013

Usage test related to a question asked on stackoverflow.

It shows how to:

  • clone a local bare repo
  • add a commit to the cloned repo
  • do a local push
  • (and additionally check that the local bare repo references have been correctly updated)

@nulltoken
Copy link
Member

That's awesome!

In order to make this scenario (even more 😉) feature complete, could you please add a check to repo.Network.ListReferences before and after the Push call?

@nulltoken nulltoken merged commit f192fc7 into libgit2:vNext Mar 29, 2013
@nulltoken
Copy link
Member

💛 ‼️

@yorah yorah deleted the topic/local-clone-push-usage branch April 3, 2013 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants