Category "git"

How to verify ssh key on Gitlab.com

I'm setting up a SSH key for the first time on Gitlab.com. I'm stuck at verifying that you can connect: ssh -T [email protected]. The gitlab.example.com yo

I have a problem setting up git repository and pushing changes in visual studio code

how to set git up in vs code. help i cant set it up. When i try to push a commit it shows cant find repository and shows a publish branch button and it opens a

The unauthenticated git protocol on port 9418 is no longer supported

I have been using github actions for quite sometime but today my deployments started failing. Below is the error from github action logs Command: git Arguments:

Deploying Hugo onto staging website from feature branch

I was wondering whether there are folks out there who have found a proper solution for the following... We have a Hugo static website for which the code resides

How to install a go library from github without public key?

I want to install the gqrcode project and get from that project the following installation instructions: go get -u github.com/KangSpace/gqrcode When performing

Git alias for checkout branch, pull and checkout back

We are using the Feature-Branch-Workflow, which means others merge theire changes to the dev-branch that I want to merge into my feature branch. As it happens a

How to use this Git pre-commit hook

Yelp detect secrets is a system that prevents secrets from entering your code base. I would like to install the pre-commit hook it provides. I've never used Git

Github not recognizing ssh key

I've been using ssh keys with github for a while now. Suddenly i can't push and I'm getting a Permission denied (publickey) error. Here's what I've tried so far

npm install returns syscall spawn git error

I've tried to run npm install and faced these issues below I've tried to clear cache with force command, install git and update node but nothing worked here i

This is a large pull request. Large pull requests can only be viewed by loading files individually

I recently installed composer require league/flysystem-aws-s3-v3 ~1.0 in my app and created small line of codes of vue components and blade.php files. When I tr

Pushing a project with passwords in it

I created a django project and want to share it with my team members, however in the settings files it contains some passwords for the database etc. Of course w

How to commit code for a second time on terminal [closed]

I have committed a code into my branch, no one has written anything in it. Do I just git add then git commit -m '' and then git push as usual

Git commit command is not working properly with atom editor

When I give the command "$git commit" to git bash, then $ git commit hint: Waiting for your editor to close the file... atom --wait: atom: command not found

cannot lock ref 'refs/remotes/origin/master'

I always got cannot lock ref 'refs/remotes/origin/master' when I execute git pull first time if there are some updates. The full console log is belows. D:\cod

How to add add existing directory to version control in existing repo without modifying files?

I have to put a pretty big project under version control, which has two versions (dev and prod). These two were kept in "mostly sync" by copying files manually

Automate IBM ODM RuleApp build from Git using Jenkins

I need to build the ODM RuleApp as below Decision Service and Java XOM project is in Git Build the RuleApp through Jenkins from Git The created jar file is to b

How do I mimic `git --work-tree ...` with `go-git` in go?

I have a bare repository in which I need to add and commit a set of files. As far as I understand it, adding files to the index requires a worktree. Using git o

git - Push to all branch but only have same code? with follow up question

Did git can push to all branch but Only have same code? I mean if i have 3 branch like ver_light, ver_medium, and ver_heavy. = ver_light \controller\a \control

Building Go apps with private gitlab modules in Docker

I am trying to build my go apps on a docker file. Inside my go.mod there is private package that needs authentication/ssh. This question is similar to Building

How to download git-lfs files using the oid sha256 information

I came across a set of images (e.g., https://github.com/kehuantiantang/A-DNN-based-Semantic-Segmentation-for-Detecting-Weed-and-Crop/blob/master/stuttgart/stutt