debian-mirror-gitlab/spec/support/gitlab-git-test.git/README.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
823 B
Markdown
Raw Normal View History

2017-09-10 17:25:29 +05:30
# Gitlab::Git test repository
This repository is used by (some of) the tests in spec/lib/gitlab/git.
Do not add new large files to this repository. Otherwise we needlessly
inflate the size of the gitlab-ce repository.
## How to make changes to this repository
2019-12-04 20:38:33 +05:30
- (if needed) clone `https://gitlab.com/gitlab-org/gitlab-foss.git` to your local machine
2017-09-10 17:25:29 +05:30
- clone `gitlab-ce/spec/support/gitlab-git-test.git` locally (i.e. clone from your hard drive, not from the internet)
- make changes in your local clone of gitlab-git-test
- run `git push` which will push to your local source `gitlab-ce/spec/support/gitlab-git-test.git`
- in gitlab-ce: run `spec/support/prepare-gitlab-git-test-for-commit`
2018-10-15 14:42:47 +05:30
- in gitlab-ce: `git add spec/support/helpers/seed_repo.rb spec/support/gitlab-git-test.git`
2017-09-10 17:25:29 +05:30
- commit your changes in gitlab-ce