Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | *: Remove use of deprecated io/util | Paulo Gomes | 2023-05-11 | 4 | -8/+4 |
| | | | | Signed-off-by: Paulo Gomes <pjbgf@linux.com> | ||||
* | git: Add support to ls-remote with peeled references. Fixes #749 | Paulo Gomes | 2023-05-03 | 1 | -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 repositories | Paulo Gomes | 2023-03-08 | 1 | -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-nel87 | 2023-02-27 | 1 | -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 capability | Paulo Gomes | 2022-11-16 | 1 | -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) | NeP | 2021-12-10 | 1 | -1/+1 |
| | |||||
* | examples: add find-if-any-tag-point-head | Sven Nebel | 2021-09-24 | 2 | -0/+39 |
| | | | | Signed-off-by: Sven Nebel <nebel.sven@gmail.com> | ||||
* | chore: add an exmaple: clone with ssh | fatelei | 2020-08-22 | 2 | -0/+53 |
| | |||||
* | _examples: tag-create-push, remove defaultSignature | Máximo Cuadros | 2020-06-14 | 1 | -16/+3 |
| | |||||
* | examples, tag: Show git command | Liviu Costea | 2020-06-01 | 1 | -13/+6 |
| | |||||
* | examples: tag, Add create and push new tag | Liviu Costea | 2020-05-31 | 2 | -0/+169 |
| | |||||
* | _examples: config example | Máximo Cuadros | 2020-05-24 | 2 | -18/+20 |
| | |||||
* | Merge branch 'master' of github.com:go-git/go-git into scope-config | Máximo Cuadros | 2020-05-24 | 2 | -0/+56 |
|\ | |||||
| * | doc: add submodule to example index | Pierre-Yves Aillet | 2020-05-18 | 1 | -0/+1 |
| | | |||||
| * | _examples: submodule, adding an example with submodule update | Pierre-Yves Aillet | 2020-05-14 | 1 | -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 Cuadros | 2020-05-24 | 1 | -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 Cuadros | 2020-05-24 | 1 | -4/+0 |
|/ | | | | | This reverts commit 53f87846a196c856e00fe825bc5f29551b2ea524, reversing changes made to bb3a1bfcc62224001d577b933355661259b80854. | ||||
* | examples: config, Show how to save config changes | Liviu Costea | 2020-04-18 | 1 | -0/+4 |
| | |||||
* | Simplify a couple of config examples | Wes Morgan | 2020-04-07 | 1 | -2/+2 |
| | |||||
* | Add advanced usage note to config example | Wes Morgan | 2020-04-07 | 1 | -0/+4 |
| | |||||
* | Add Merged config | Wes Morgan | 2020-04-06 | 1 | -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 modules | Máximo Cuadros | 2020-03-10 | 23 | -72/+72 |
| | |||||
* | Fix typos in comments, variables and function names | Oleksandr Redko | 2019-10-24 | 4 | -5/+5 |
| | | | | Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com> | ||||
* | Merge pull request #1195 from digininja/master | Máximo Cuadros | 2019-08-16 | 1 | -1/+1 |
|\ | | | | | Spelling mistake | ||||
| * | Spelling mistake | Robin Wood | 2019-07-27 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Robin Wood <robin@digi.ninja> | ||||
* | | examples: Fix typo on pull example | Theodore Keloglou | 2019-08-07 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Theodore Keloglou <theodorekeloglou@gmail.com> | ||||
* | | Add limiting options to git log | knqyf263 | 2019-08-04 | 1 | -1/+4 |
|/ | | | | Signed-off-by: knqyf263 <knqyf263@gmail.com> | ||||
* | git : allows to create a Remote without a Repository | Valentin Cocaud | 2019-06-17 | 1 | -0/+42 |
| | | | | Signed-off-by: Valentin Cocaud <v.cocaud@gmail.com> | ||||
* | Add merge-base command | David Pordomingo | 2019-06-03 | 4 | -6/+255 |
| | | | | Signed-off-by: David Pordomingo <David.Pordomingo.F@gmail.com> | ||||
* | Allow non-.git path for ls example | Filip Navara | 2019-05-07 | 1 | -2/+6 |
| | | | | Signed-off-by: Filip Navara <filip.navara@gmail.com> | ||||
* | Add test parameters for ls example | Filip Navara | 2019-05-07 | 1 | -0/+1 |
| | | | | Signed-off-by: Filip Navara <filip.navara@gmail.com> | ||||
* | Add example for commit-graph traversal | Filip Navara | 2019-05-07 | 1 | -0/+268 |
| | | | | Signed-off-by: Filip Navara <filip.navara@gmail.com> | ||||
* | examples: commit, fixed minor typo in info statement | HashedDan | 2019-04-15 | 1 | -1/+1 |
| | | | | Signed-off-by: HashedDan <georgedanielmangum@gmail.com> | ||||
* | Fix spelling and grammar in docs and example | Lukasz Kokot | 2018-10-28 | 8 | -11/+11 |
| | | | | Signed-off-by: Lukasz Kokot <lukasz@kumojin.com> | ||||
* | examples & documentation: PlainClone with Basic Authentication (Password & ↵ | Colton J. McCurdy | 2018-10-25 | 3 | -0/+81 |
| | | | | | Access Token) (#990) examples: PlainClone with Basic Authentication (Password & Access Token) | ||||
* | plumbing/transport: http, Adds token authentication support [Fixes #858] | Eric Billingsley | 2018-06-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Eric Billingsley <ebilling@babrains.com> | ||||
* | _examples: branch example improvements | Máximo Cuadros | 2018-01-15 | 4 | -61/+66 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | add branch add/remove example | marwan-at-work | 2018-01-09 | 2 | -12/+56 |
| | |||||
* | Fix revision solver for branch and tag (#660) | Anthony HAMON | 2017-12-01 | 4 | -4/+38 |
| | | | fix Repository.ResolveRevision for branch and tag | ||||
* | all: gofmt -s | ferhat elmas | 2017-11-30 | 1 | -11/+11 |
| | |||||
* | examples,plumbing,utils: typo fixes | ferhat elmas | 2017-11-20 | 2 | -3/+3 |
| | |||||
* | Update README.md | Alexander | 2017-09-09 | 1 | -1/+1 |
| | | | Update like to storage GoDoc | ||||
* | _examples: context | Máximo Cuadros | 2017-08-22 | 3 | -0/+48 |
| | |||||
* | Add example for pulling changes | Ori Rawlings | 2017-08-13 | 3 | -1/+61 |
| | |||||
* | config: multiple values in RemoteConfig (URLs and Fetch) | Santiago M. Mola | 2017-08-01 | 1 | -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.Pull | Máximo Cuadros | 2017-07-24 | 1 | -3/+3 |
| | |||||
* | Add example code for listing tags | Ori Rawlings | 2017-07-17 | 3 | -1/+46 |
| | |||||
* | examples: commit example | Máximo Cuadros | 2017-05-05 | 2 | -0/+68 |
| | |||||
* | examples: fix storage README example | Máximo Cuadros | 2017-05-04 | 1 | -1/+1 |
| | |||||
* | examples: fix compilation error from #368 | Máximo Cuadros | 2017-05-04 | 1 | -1/+0 |
| |