Skip to content

Tutorial improvement: init repo, add file, commit. #236

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

Closed
guettli opened this issue Jan 19, 2015 · 2 comments
Closed

Tutorial improvement: init repo, add file, commit. #236

guettli opened this issue Jan 19, 2015 · 2 comments
Assignees

Comments

@guettli
Copy link

guettli commented Jan 19, 2015

Please provide a simple example on how to:

  1. init a git repo
  2. add a file (foo.txt)
  3. commit.

I tried it and get message like this:

{{{
ValueError: Reference at 'refs/heads/master' does not exist
}}}

@Byron Byron added this to the v0.3.6 - Features milestone Jan 19, 2015
@Byron
Copy link
Member

Byron commented Jan 19, 2015

There indeed is no example that shows this explicitly, and I will see where I can fit in a custom example.

Something you might be looking for is the IndexObject, which is used for preparing and making commits.

@Byron Byron self-assigned this Jan 19, 2015
@Byron Byron closed this as completed in e395ac9 Jan 19, 2015
@Byron
Copy link
Member

Byron commented Jan 19, 2015

You can watch the development stream on youtube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants