aboutsummaryrefslogtreecommitdiffstats
path: root/_examples
Commit message (Collapse)AuthorAgeFilesLines
* _examples: tag-create-push, remove defaultSignatureMáximo Cuadros2020-06-141-16/+3
|
* examples, tag: Show git commandLiviu Costea2020-06-011-13/+6
|
* examples: tag, Add create and push new tagLiviu Costea2020-05-312-0/+169
|
* _examples: config exampleMáximo Cuadros2020-05-242-18/+20
|
* Merge branch 'master' of github.com:go-git/go-git into scope-configMáximo Cuadros2020-05-242-0/+56
|\
| * doc: add submodule to example indexPierre-Yves Aillet2020-05-181-0/+1
| |
| * _examples: submodule, adding an example with submodule updatePierre-Yves Aillet2020-05-141-0/+55
| | | | | | | | | | the goal of this pull request is to add an example of how to make the equivalent of `git submodule update --remote` with `go-git`
* | Revert "Merge pull request #20 from quorumcontrol/feature/other-configs"Máximo Cuadros2020-05-241-69/+0
| | | | | | | | | | This reverts commit 3127ad9a44a2ee935502816065dfe39f494f583d, reversing changes made to 73c52edaad2dae256be61bd1dbbab08e1092f58e.
* | Revert "Merge pull request #31 from lcostea/liviu/add_save_config_changes"Máximo Cuadros2020-05-241-4/+0
|/ | | | | This reverts commit 53f87846a196c856e00fe825bc5f29551b2ea524, reversing changes made to bb3a1bfcc62224001d577b933355661259b80854.
* examples: config, Show how to save config changesLiviu Costea2020-04-181-0/+4
|
* Simplify a couple of config examplesWes Morgan2020-04-071-2/+2
|
* Add advanced usage note to config exampleWes Morgan2020-04-071-0/+4
|
* Add Merged configWes Morgan2020-04-061-0/+65
| | | | ...for reading and writing global (~/.git/config) and reading system (/etc/gitconfig) configs in addition to local repo config
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-1023-72/+72
|
* Fix typos in comments, variables and function namesOleksandr Redko2019-10-244-5/+5
| | | | Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
* Merge pull request #1195 from digininja/masterMáximo Cuadros2019-08-161-1/+1
|\ | | | | Spelling mistake
| * Spelling mistakeRobin Wood2019-07-271-1/+1
| | | | | | | | Signed-off-by: Robin Wood <robin@digi.ninja>
* | examples: Fix typo on pull exampleTheodore Keloglou2019-08-071-1/+1
| | | | | | | | Signed-off-by: Theodore Keloglou <theodorekeloglou@gmail.com>
* | Add limiting options to git logknqyf2632019-08-041-1/+4
|/ | | | Signed-off-by: knqyf263 <knqyf263@gmail.com>
* git : allows to create a Remote without a RepositoryValentin Cocaud2019-06-171-0/+42
| | | | Signed-off-by: Valentin Cocaud <v.cocaud@gmail.com>
* Add merge-base commandDavid Pordomingo2019-06-034-6/+255
| | | | Signed-off-by: David Pordomingo <David.Pordomingo.F@gmail.com>
* Allow non-.git path for ls exampleFilip Navara2019-05-071-2/+6
| | | | Signed-off-by: Filip Navara <filip.navara@gmail.com>
* Add test parameters for ls exampleFilip Navara2019-05-071-0/+1
| | | | Signed-off-by: Filip Navara <filip.navara@gmail.com>
* Add example for commit-graph traversalFilip Navara2019-05-071-0/+268
| | | | Signed-off-by: Filip Navara <filip.navara@gmail.com>
* examples: commit, fixed minor typo in info statementHashedDan2019-04-151-1/+1
| | | | Signed-off-by: HashedDan <georgedanielmangum@gmail.com>
* Fix spelling and grammar in docs and exampleLukasz Kokot2018-10-288-11/+11
| | | | Signed-off-by: Lukasz Kokot <lukasz@kumojin.com>
* examples & documentation: PlainClone with Basic Authentication (Password & ↵Colton J. McCurdy2018-10-253-0/+81
| | | | | Access Token) (#990) examples: PlainClone with Basic Authentication (Password & Access Token)
* plumbing/transport: http, Adds token authentication support [Fixes #858]Eric Billingsley2018-06-081-1/+1
| | | | Signed-off-by: Eric Billingsley <ebilling@babrains.com>
* _examples: branch example improvementsMáximo Cuadros2018-01-154-61/+66
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* add branch add/remove examplemarwan-at-work2018-01-092-12/+56
|
* Fix revision solver for branch and tag (#660)Anthony HAMON2017-12-014-4/+38
| | | fix Repository.ResolveRevision for branch and tag
* all: gofmt -sferhat elmas2017-11-301-11/+11
|
* examples,plumbing,utils: typo fixesferhat elmas2017-11-202-3/+3
|
* Update README.mdAlexander2017-09-091-1/+1
| | | Update like to storage GoDoc
* _examples: contextMáximo Cuadros2017-08-223-0/+48
|
* Add example for pulling changesOri Rawlings2017-08-133-1/+61
|
* config: multiple values in RemoteConfig (URLs and Fetch)Santiago M. Mola2017-08-011-1/+1
| | | | | | | | * Change `URL string` to `URL []string` in `RemoteConfig`, since git allows multiple URLs per remote. See: http://marc.info/?l=git&m=116231242118202&w=2 * Fix marshalling of multiple fetch refspecs.
* move Repository.Pull to Worktree.PullMáximo Cuadros2017-07-241-3/+3
|
* Add example code for listing tagsOri Rawlings2017-07-173-1/+46
|
* examples: commit exampleMáximo Cuadros2017-05-052-0/+68
|
* examples: fix storage README exampleMáximo Cuadros2017-05-041-1/+1
|
* examples: fix compilation error from #368Máximo Cuadros2017-05-041-1/+0
|
* do not convert local paths to URLSantiago M. Mola2017-04-281-1/+1
| | | | | | | * Do not convert local paths to URLs, just keep them as they are. * This way we add support for Windows without taking care of Windows path-to-URL conversion.
* examples: checkout example updateMáximo Cuadros2017-04-122-8/+20
|
* Modify examplesAntonio Jesus Navarro Perez2017-04-113-15/+24
|
* pr-fixesmarwan-at-work2017-04-063-5/+5
|
* add git checkout example + housekeepingmarwan-at-work2017-04-063-3/+45
|
* Merge pull request #296 from ajnavarro/improvement/repositorySantiago M. Mola2017-03-214-4/+4
|\ | | | | git: Repository methods changes
| * git: Repository methods changesAntonio Jesus Navarro Perez2017-03-064-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To have a more consistent public API, we decided to rename some methods, and add others: - Commit method renamed to CommitObject - Commits method renamed to CommitObjects - Tree method renamed to TreeObject - Trees method renamed to TreeObjects - Tags method renamed to TagObjects - Tag method renamed to TagObject - Added method Tags that returns tag references - Added method Branches that returns branch references - Added method Notes that returns note references - Added BlobObject method - Added BlobObjects method Also, we added more functionality related to references: - Added iterator to iterate References with a specific filter Some notes: - #298
* | project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-079-25/+25
|/ | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.