Skip to content

Show how to clone/commit/push from a local bare repository #376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 29, 2013
Merged

Show how to clone/commit/push from a local bare repository #376

merged 1 commit into from
Mar 29, 2013

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