Category "git"

How do I make packages without version numbers work in Swift Playgrounds on the iPad?

I‘m trying to import the Swift package https://github.com/demharusnam/SwiftUIDrag into the playgrounds app on the iPad, but it won‘t work. I suspect

How to fetch entire repository with GitLab CI/CD?

I'm currently setting up GitLab CI/CD. We use GitVersion in our project, which throws the following error: /root/.nuget/packages/gitversiontask/5.3.7/build/GitV

Git push automatically update all submodules

I searched and searched for an automatically way of updating(synchronizing) all submodules when pushing. I have the main project, e.g: test Another project, e

Git push working GitKraken, failing due to permissions in VS Code

I am able to pull/push to GitHub via GitKraken on my Windows 10 machine but when using VS Code on the same machine I get permission errors. Any thoughts? git

Creating merge commit in git with reversed parents order

In Weblate we're sometimes creating merge commits which get in the end pushed to the upstream repository. I'd like them to be constructed with parent commits in

black as pre-commit hook always fails my commits

I'm trying to use pre-commit to manage Black as a Git pre-commit hook, but I must be doing it wrong. In my pre-commit config file I have: - repo: https://gith

Why can't I push tags in GitHub workflows anymore, and how do I fix it?

My team has a GitHub release workflow that automatically tags our prod branch on push. It has been working fine for the last year, with the most recent success

Git always ask for username and password in ubuntu

I recently shifted from windows to ubuntu. I'm working on company's repo as collaborator and I do have all permissions. Git was working fine on my windows machi

fatal: Unable to find remote helper for 'https'

I tried to install brew on my mac (High Sierra) I always have this error: fatal: Unable to find remote helper for 'https' I tried to clone brew manually b

[email protected]: Permission denied (publickey)

I created a new remote repository and tried to use git push -u origin master command to push my local files into the new repository the first time after I add i

Gitlab deploy keys configured but still doesn't grant access

I just configured Gitlab with a deploy key so that it doesn't ask for a username and password every time—but when pulling, it still fails with the followi

Setup Azure DevOps Notifications for commits/changes to specific branch

I want to be notified by email each time new commits are made to the master branch on our project. Found this and know to do what it says under the 'Add a custo

get list of files edited and type of edit using git

is there a way to get a list of all files that have been edited in a commit using git? the info I would need are: file1 edited file2 deleted file3 edited file

How to know the git username and email saved during configuration?

While configuring git I ran these two commands: git config --global user.name "My Name" git config --global user.email "[email protected]" However, I doub

I cut/pasted a folder into a local repository mid-clone - the clone failed and the folder disappeared. Is the folder I pasted gone forever?

I wanted to put my local code into a GitHub repository. I created a repo on GitHub and tried cloning with HTTPS. The clone was taking a moment but the folder wa

How to migrate from HTTPS to SSH github

I cloned my company project repo using HTTPS, I want to migrate into SSH because it conflicts with my personal git account. how can I migrate into SSH instead o

Determine source branch name on merge push in GitHub action workflow

I have a GitHub action workflow where I am doing a merge of various different source branches into target branch main. Here is a test workflow to read the value

Using GitHub Actions to automatically update the repo's submodules

Title says it all. I tried using a bunch of different git commands like git submodule update --remote --merge and git submodule foreach git pull origin master w

Different branches in repositories

When I see my branches in a local repository with git branch in the terminal it prints only one, which is master But when I go to the gitlab page I have two bra

What's the point of "edit" option in `git reset --patch"

What is the use case of git reset -p and then using "e" option to edit an applied hunk before resetting it ? I tried playing around with the command but all e