Most voted "gitlab" questions
Gitlab is an open source Git repository manager with a tracking system for issues and Continuous Integration/ Continuous Distribution features.
Learn more…53 questions
Sort by count of
-
27
votes5
answers19389
viewsDifferences and advantages between Github and Gitlab
Today I became aware about Gitlab, I saw that many major companies, like NASA and Spacex, use it. I would like to know what are his differences with Github, main advantages and disadvantages in…
-
6
votes1
answer691
viewsGIT error sending project to Ionic Pro: fatal: sha1 file '<stdout>' write error: Broken pipe
I signed Ionic Pro and I’m trying to send my local project to their Cloud. I use the command: git push ionic master It starts all right but makes the mistakes to follow: git push ionic master Enter…
-
6
votes3
answers230
viewsCode shortcut for multiple git commands
How do I have only one command run another automatically on git? Example: When sending git atalho perform the following instructions: git status git add Post.txt git commit -m "aqui coloco uma…
-
5
votes1
answer119
viewsError installing R packages in Gitlab CI
When I try to install R packages using shell, the following error occurs: My code from the archive gitlab-ci.yml is as follows: before_script: - export DJANGO_SETTINGS_MODULE= ---- - pip install -r…
-
5
votes1
answer68
viewsGitlab does not display all changes
In one of the Gitlab repositories it turns out that 93000 lines were added in a commit. When I search for this commit locally, using commands like git log, git show for example, I have a return,…
-
4
votes1
answer71
viewsEmail invitation is not enough - Gitlab
I need to add another developer in the gitlab but I invite you and no email invitation reaches his e-mail. Is there any way add one member other than by email?…
gitlabasked 7 years, 3 months ago Junior Vilas Boas 353 -
4
votes1
answer4787
viewsHow do I create a project in Gitlab using git?
We can easily create a project on Gitlab and "sync it" by git: $ git clone [email protected]:user/teste.git But to do otherwise? Create folder and local project, and send as a "new" in the Gitlab?…
-
3
votes1
answer2437
viewsThe git push command is not working after removing a commit
I needed to reverse a commit and locally it works well. Now when I push to my repository, it presents me with error. My attempt git fetch origin c6f1668e2fac57401a99a2184a47f0b58c15e403 git reset…
-
3
votes1
answer353
viewsCan I set up Gitlab-CI to only run a particular job with a branch name Pattern?
I’m using Gitlab for code evolution management. It’s all quiet about it. Usage merge-requests to review code changes. I also generally use the Gitflow, only using the name rc-* for launch branches…
-
3
votes1
answer415
viewsWhat are "Stages" and "Jobs" in the context of Gitlabci?
Seeing here the option of put the IC in Gitlab (https://docs.gitlab.com/ee/ci/README.html). I was in doubt about the nomenclature they use. They say it all goes in one pipeline…
-
3
votes1
answer259
viewsOpening merge request in Gitlab via Curl
Where I work, we use a variation of Gitflow in which, when a hotfix enters the product code, there is only the merge to the master which, when approved, we propagate to the develop through the…
-
3
votes1
answer167
viewsGit - Pull/Push with different repositories
I have a project that sends to 2 repositories at the same time using the same remote, example: [remote "origin"] url = https://gitlab.com/teste.git url = http://bitbucket.org/teste.git In this type…
-
2
votes1
answer293
viewsCopy Gitlab backup files to an external drive by setting up crontab
I set the server to run a cronjob and run the script that backs up Gitlab. Gitlab in turn generates the files .tar in the briefcase var/opt/gitlab/backups The first problem is that to access the…
-
2
votes1
answer4466
viewsIgnoring files by . gitignore
Use the GitLab as a repository for a project Android. I want to ignore the files from the folder openCVLibrary320 at the time of commit/push. I typed the folder as follows in the file .gitignore:…
-
2
votes1
answer95
viewsHow to protect my account from unauthorized`pushs`?
I’m starting to use the git repository, through gitlab, but I’m using it on a company computer where I work. Assuming I leave the company and leave the setup ready, how can I block a new programmer…
-
2
votes1
answer276
viewsHow do I deploy an Angular app to Heroku using Gitlab?
Angular Use 5 (5.2.10) and Angular CLI (1.7.4) and I would like to deploy to Heroku, but my files are in the Gitlab repository. Some more information: Node (8.11.1) and npm (5.6.0).
-
2
votes0
answers150
viewsPipeline change environment variable
I have an environment variable of project level defined with the value X. During the execution of the pipeline, given a certain condition, I need to change the value of this variable to Y. The value…
-
2
votes1
answer42
viewsGitlab Pipeline Only Merge Request
I am creating a script for CI on Gitlab, but when using the only merge_requests it is not executed when creating a new merge request. The version I’m using is the Community Edition. When I create a…
gitlabasked 5 years, 11 months ago Pablo Tondolo de Vargas 5,444 -
2
votes0
answers49
viewsHow do I get gitlab to access the ec2 instance?
i created a script to deploy at an instance of ec2. The idea is to enter the instance terminal, run a git pull and restart pm2. But when I try to access ec2 the following error appears:…
-
1
votes2
answers1030
viewsHow do NPM always update the latest Comite in master?
I have a local repository (gitlab) with several components, I’m pointing to package.json each component directly to this repository. See below for an example: "dependencies": { "XX-alert":…
-
1
votes1
answer81
viewsGIT lab service for versioning
We installed the GIT LAB service on Azure. When I execute this command git push --set-upstream origin máster shows this error: fatal: Unable to access 'address': SSL Certificate problem: self Signed…
-
1
votes1
answer510
viewsPush does not go to remote and does not error
I’m making git push -f origin "branch name" and it doesn’t go to the remote repository at all. Since no error appears, I also changed some configs of buffers, which I do to solve? Counting objects:…
-
1
votes0
answers86
viewsShould I use HTTPS or SSH in Gitlab ? What would be the differences?
I noticed that in gitlab there are two ways to clone a project, one by SSH and the other by HTTPS, my question is what would be the difference between them ? For safety what would be the recommended…
-
1
votes1
answer230
viewsCurl: (92) HTTP/2 stream 1 was not closed cleanly: REFUSED_STREAM (err 7)
I am trying to register a Gitlab Runner, but when I run the registry command specified in the API, error occurs. The command I try to run is like the one described in the API: curl --request POST…
-
1
votes0
answers54
viewsList projects created within the gitlab group by creation date
I’m starting with Gitlab and I have the following demand, we need the API to identify the projects created in the year 2020 within a particular group of gitlab projects. Listing the following…
-
1
votes0
answers90
viewsDoubt about CI/CD to build and release Docker containers?
I am building a Docker container release pipeline in Gitlab and Azure Devops. But I came across the following situation: Step do build: docker build -f ./caminho_docker_file -t nome_minha_imagem .…
-
0
votes1
answer112
viewsBuild in Gitlab does not change from "Pending"
I recently deleted a repository in Gitlab (I use their own server) and created a new one, but when I do commits and pushs appears a "build: pending" in the commit, alerting: .gitlab-ci.yml not found…
-
0
votes1
answer1206
viewsError when cloning Gitlab repositories
I am trying to clone a repository I have created in Gitlab on my machine, but the following error is returned to me : I used the Github login to log into Gitlab and create the repository there. When…
-
0
votes0
answers536
viewsIn Git, I can’t pull, it gives ERROR 502
I’m in a project and I can change Branch (Checkout), fetch, merge, but pull I can’t, returns the message fatal: Unable to access '': The requested URL returned error: 502 I’ve done several tests and…
-
0
votes2
answers3844
viewsHow to delete commits from gitlab
You can delete commits from gitlab using git commands? I have tried through the visual studio of option > Team Explorer but without success
-
0
votes1
answer5856
viewsHow do I make a private repository public in Gitlab?
How to make a private repository public on Gitlab?
-
0
votes0
answers62
viewsError in Android Studio 2.3 Integration with Gitlab
I’m learning how to read and following a step by step in Stack Overflow almost worked, but there’s an error that I can’t fix. I’m using the terminal inside the Android Studio I followed all the…
-
0
votes1
answer29
viewsIs it possible to synchronize code repositories instanttaneously?
For example: change my code on github and my import into gitlab from that code, be updated according to my changes on github. As if it were a backup code, which updates instantaneously. (In the case…
-
0
votes0
answers101
viewsHow do I delete commits from git and consider the old with new implementations?
Personal I have the following problem, I was developing and comiting slowly the changes, when I arrived at a certain point I had to go back in one of the commits using: git reset --hard <numero…
-
0
votes0
answers226
viewsHow to clone a direct project from a Branch?
I use Gitlab and Visual Code to do code versioning and I have the following problem: When cloning a project direct from master and then do the git pull origin tv_version my files are giving like…
-
0
votes1
answer611
viewsHow to do version control with Gitlab?
Setting I have a local folder (on my machine) with all folders and files various projects. For some indications, I chose the Gitlab because I need to keep private projects. Doubts There is a tool…
-
0
votes1
answer345
viewsProblem generating ssh key in git lab
People I’m trying to generate an ssh key to use in my gitlab but it keeps giving this error I’m using git bash to generate the key using this command : ssh-keygen which may be happening?…
-
0
votes0
answers30
viewsSharing a project without certain modules
I have a project in progress versioned, everything straight, with several modules and each module has several functionalities and I need to share the project with another team, but this team does…
-
0
votes1
answer251
viewsHow do I use Jenkins to see which files were modified in the commit?
I am working with PHP and Mysql on Windows, my repository is in Gitlab. I wish to use Jenkins to run a job or pipeline when pushing to the repository. The job should check the changed files in the…
-
0
votes1
answer60
viewsGitlab CI passes the test even with error
I’m working with python/flask in an application. I want to test the Gitlab CI, so I ran a test that generates an error, just to see how it works. But, it turns out that the IC passes the Job even…
-
0
votes1
answer112
viewsGit Manage Branches
I’m looking to manage the new features branches. Currently I can see from Gitlab how many commits the branch is in front of or behind the project’s default branch. However I would like to know if…
-
0
votes1
answer325
viewsHow to merge the two applications that are in a separate Gitlab?
I took a job where the staff has two versions. I’ll explain better: One company A transferred a client to another company B, both of IT. Company A passed a version and the backlogs to company B.…
-
0
votes1
answer38
viewsExcuir Gitlab Single Computer Repository
I need to delete the files downloaded from a repository of only one member remotely authorized, so that it no longer has access to the project, it is possible?
-
0
votes1
answer50
viewsGitlab-CI.yml does not share ratings
I’m trying to automate a build using gitlab-ci.yml, but I’m having some problems. Apparently each Stage creates a new container of the image I chose. I guess I’m new to this CI/CD world so maybe the…
-
0
votes0
answers87
viewsGit Push / Git clone does not work even after setting an SSH key correctly
Even if you correctly set an RSA-type SSH key, as described in: GIT LAB SSH, I did several tests and added a file config: Host gitlab.com Hostname gitlab.com IdentityFile ~/.ssh/gitlab I got it in…
-
0
votes1
answer153
viewsProject Maven Muti-module, how to control which artifacts Gitlab-CI should deploy?
I have a multi-module Maven project in Gitlab. The structure is about the following: /pom.xml --> reator /cooker/ /cooker/pom.xml --> biblioteca principal /security-clean/…
-
0
votes1
answer107
viewsGitlab permission error in visual studio 2019
I have the error below when I try to pull/push via visual studio. Opening repositories: C:\Projetos\Ecommerce\Epson Permission denied, please try again. Permission denied, please try again.…
-
0
votes1
answer78
viewsI can’t clone project in Gitlab
I’m having trouble trying to clone projects in Gitlab, I have two accounts in Gitlab where I ended up generating an SSH Key for one and the RSA for another, so I can update which account is…
-
0
votes2
answers56
viewsQuestion about GIT and how to use an existing project on the server?
I’m currently getting into the git method, and I’ve really liked the way the development flows. But I ran into a problem. I have several projects that are already on their proper servers, sent via…
-
0
votes0
answers53
viewsDelete a GIT folder when 10Gb is exceeded in the project
I went to commit to a project of mine and was presented the message that exceeded the limit of the 10Gb project, however, I could not delete a folder and its files in git bash or directly in gitlab.…