Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

_examples: improve documentation (fix #238) #293

Merged
merged 2 commits into from
Mar 1, 2017
Merged

_examples: improve documentation (fix #238) #293

merged 2 commits into from
Mar 1, 2017

Conversation

ajnavarro
Copy link
Contributor

No description provided.

@ajnavarro ajnavarro changed the title _examples: improve documentation _examples: improve documentation (fix #238) Feb 28, 2017
@codecov-io
Copy link

codecov-io commented Feb 28, 2017

Codecov Report

Merging #293 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #293   +/-   ##
=======================================
  Coverage   77.03%   77.03%           
=======================================
  Files         116      116           
  Lines        7902     7902           
=======================================
  Hits         6087     6087           
  Misses       1161     1161           
  Partials      654      654

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0e9dea1...d24ea49. Read the comment docs.

@@ -7,6 +7,8 @@ import (
. "srcd.works/go-git.v4/_examples"
)

// Example of how to open a repository in a specific path, and do a push to
// his default remote (origin).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

his -> its

@@ -7,6 +7,8 @@ import (
. "srcd.works/go-git.v4/_examples"
)

// Example of how to open a repository in a specific path, and do a push to
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do a push -> push

@@ -15,6 +17,7 @@ func main() {
CheckIfError(err)

Info("git push")
// push using default push options
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

push options -> options

@@ -10,6 +10,13 @@ import (
"srcd.works/go-git.v4/storage/memory"
)

// Example of how to:
// - Create a new repository into memory
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

repository into memoty -> in-memory repository

@@ -10,6 +10,13 @@ import (
"srcd.works/go-git.v4/storage/memory"
)

// Example of how to:
// - Create a new repository into memory
// - Create a new remote called "example"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

called -> named

// - Create a new remote called "example"
// - List remotes and print them
// - Pull using the new remote "example"
// - Iterate again the references, but only showing hash references, not simbolic ones
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iterate again the references -> iterate the refererences again
simbolic -> symbolic

@mcuadros mcuadros merged commit d105e15 into src-d:master Mar 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants