aboutsummaryrefslogtreecommitdiffstats
path: root/_examples
Commit message (Collapse)AuthorAgeFilesLines
* _examples: Add git clone using ssh-agentPaulo Gomes2024-01-132-0/+37
| | | | Signed-off-by: Paulo Gomes <paulo.gomes@suse.com>
* *: fix some typosZhizhen He2023-09-081-1/+1
| | | | Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
* Merge pull request #804 from pjbgf/docsv5.8.1Paulo Gomes2023-07-241-0/+4
|\ | | | | *: Improve docs on examples, compatibility and extensibility
| * *: Improve docs on examples, compatibility and extensibilityPaulo Gomes2023-07-021-0/+4
| | | | | | | | | | | | Fixes #777 Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* | plumbing: blame, Complete rewrite. Fixes #603Arieh Schneier2023-07-061-0/+48
|/ | | | Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
* Merge pull request #357 from pascal-hofmann/patch-1Paulo Gomes2023-07-011-3/+0
|\ | | | | _examples: Remove wrong comment
| * _examples: Remove wrong commentPascal Hofmann2021-07-301-3/+0
| |
* | *: Remove use of deprecated io/utilPaulo Gomes2023-05-114-8/+4
| | | | | | | | Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* | git: Add support to ls-remote with peeled references. Fixes #749Paulo Gomes2023-05-031-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new PeelingOption field was introduced into ListOptions. The new options include the default (and backwards compatible) IgnorePeeled. Plus another two variations which either only returns peeled references (OnlyPeeled), or append peeled references to the list (AppendPeeled). The ls-remote example was updated to align with upstream, in which peeled references are appended to the results by default. A new ErrEmptyUrls error is now returned when List or ListContext do not receive a URL to work with, to improve overall execution flow. Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* | examples: Add example for SHA256 repositoriesPaulo Gomes2023-03-081-0/+66
| | | | | | | | | | | | | | | | | | | | Add a new example on initializing a new repository with object format SHA256. A new Makefile target was created to run the example to ensure that new changes won't break SHA256 support going forwards. Relates to the SHA256 implementation, defined in #706. Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* | _examples: README.md , Remove broken Config link. pat-nel872023-02-271-1/+0
| | | | | | | | This link is broken and doesn't appear to map to anything current. I propose We remove this link.
* | Allow unsupported multi_ack capabilityPaulo Gomes2022-11-161-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Azure DevOps requires capabilities multi_ack / multi_ack_detailed, which are not fully implemented and by default are included in transport.UnsupportedCapabilities. The initial clone operations require a full download of the repository, and therefore those unsupported capabilities are not as crucial, so by removing them from that list allows for the first clone to work successfully. Additional fetches will yield issues, therefore to support that repository users have to work from a clean clone until those capabilities are fully supported. Commits and pushes back into the repository have also been tested and work fine. This change adds an example for cloning Azure DevOps repositories. Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* | examples: remote fix typo (#408)NeP2021-12-101-1/+1
| |
* | examples: add find-if-any-tag-point-headSven Nebel2021-09-242-0/+39
|/ | | | Signed-off-by: Sven Nebel <nebel.sven@gmail.com>
* chore: add an exmaple: clone with sshfatelei2020-08-222-0/+53
|
* _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
|