Tag: gitlab

New pair of ssh keys cannot connet to gitlab

accidentally I deleted the private an public key from the .ssh folder. Now i can’t clone from the gitlab repository because of this problem: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.` I checked the permission, created a new account […]

How do I pull from a git repo on a remote machine through ssh?

I have several remote machines that need to pull from a repo after I’ve completed testing and ready to make updates to production (python Flask app and supporting classes). A couple of the machines need to pull from a different branch, as well. I’ve been SSHing to each machine to run the git pull, but […]

Git or anyother tools, creating a release from multiple tags in different repos

I’m looking for a new way to cut releases for my project. I currently handle multiple products in each of their own repos. For an example: //parent repo //child repo1(tag1.1) //child repo2(tag2.4) //child repo3(tag6.4) When it’s time to cut a release, I go through each child repo and make sure that it’s specific tag has […]

unable to push directory

I’m using gitlab to host my project, I am developing a web application using symfony, I added a bundle using composer, and of course composer downloaded the bundle and placed it under /vendor (for my case and for this bundle its vendor\nomaya\social-bundle\Nomaya\). Now usually when I commit and push the project, the whole project is […]

Change username to which my commits are credited on GitLab

Problem At some point in time, I used the command git config –global user.name = “MyUsername”, but the way to do this is actually git config –global user.name “MyUsername”, so what happened was that my username was set to =. I have since changed this back to MyUsername, but my commits are still being credited […]

Git workflow and gitlab

I’ve current using the following setup and I’m wondering if I should have followed a different path.. Online server <> Offline Dev <> Offline Gitlab Online Server gets a few updates (mainly uploads) so I pull those to my Offline Dev. Offline Dev is where I work. I push the changes to the online Server […]

Gitlab 8.7 repositories size differ backup-restore (6.9) from Import option (8.7)

So, I’m in the process of migrating my repositories to a new server: Old Server: –> New Server Gitlab 6.9 –> Gitlab 8.7 So What I did was to create a backup following the documentation after which : installed 6.9 version in the new server so that I was able to restore the backup. restore […]

While adding an ssh-key in gitlab using git bash, I am getting the error: “Saving key 'keyname' failed: Permission Denied”. What shall I do?

While adding an ssh-key in gitlab using git bash, I am getting the error: “Saving key ‘keyname’ failed: Permission Denied” . What shall I do? This is the input- $ ssh-keygen -t rsa -C “name@email.com” Generating public/private rsa key pair. Enter file in which to save the key (/c/Users/UserName/.ssh/id_rsa): fileName Enter passphrase (empty for no […]

how do i get a tar file from gitlab of a specific repository branch via REST API

How do i get an tar file from gitlab of specific branch or tag of an repository. As of now i using like this https://gitlab.com/api/v3/projects/:id/repository/archive?access_token=xxxxx This url which is downloading tar file of master branch.. Is there is any API to get the branch and tag content as a tar file.. Thanks advance…

Disable gitlab two step verification in CLI

I have a situation, Google Authenticator generates non-valid codes and my recovery codes are all expired, how can I disable it via command line?

Git Baby is a git and github fan, let's start git clone.