Category "git"

git pull multiple repositories

I have a question regrading intertwined repositories. I have a repo, lets call it common_repo. common_repo holds code which is relevant to most of my other re

How do I remove all stale branches from Github?

We have a lot of branches that are inactive (the newest is 7 months old, the oldest is two years ago). I'd like to remove all of those branches in bulk from the

LF will be replaced by CRLF in git - What is that and is it important? [duplicate]

When I create a new rails application I'm seeing a warning in git about LF replacement. I do git init git add . and then boom! I see

Strange GIT behaviour in VS2022 - Shows error but still completes action

I'm having a strange problem with Git i VS2022 and VS2019. When I Push, fetch or pulls I get a error saying "failed to fetch from the remote repository. see the

When I Git commit, cmd.exe not found

Quite new to git, so if i made any obvious mistakes I am sorry. When I do git commit, it prints the following message: hint: Waiting for your editor to close t

Unable to perform "git clone" on local system using Ansible

I am trying to clone a git repo on my local system. I have done this manually and it works fine, but when I try to do it via Ansible, it doesn't work out Here i

Github Desktop - Not showing changes

Basically I changed a few files in Notepad++ but it wont show up in Github for Windows. I have tried reinstalling, Restarting pc and constantly re-cloning in

What is the fastest way to transfer all of my GitHub repositories to GitLab?

I'm looking to move entirely away from GitHub to GitLab as easily as possible.

Why is repo sync not checking out the branch I had specified in the manifest file?

Suppose I have the following manifest file for the repo tool (MCVE script is included at the end of this post): <?xml version="1.0" encoding="UTF-8"?> <

how to download single folder OR file in gitlab repository

i have one repository. In this repository multiple folders are available. i have required only one folder in this repository. i am already try to following co

Change email address in Git

I have a project hosted in Git stash (now rebranded as Bitbucket Server). It is built using jenkins. Now I made a typo while installing my Git locally. Like @ab

How can I deploy my Laravel project to root folder in Hostinger with git?

I'm trying deploy my project to Hostinger with git, but I can't deploy direct to root folder (/home/uXXXXXXXX). The path in cPanel is directly to /home/uXXXXXXX

clone AWS codecommit repo via HTTP

I have set 2 repositories in AWS Codecommit and using before SourceTree from Windows, setting up access via HTTP protocol was and everything was working fine.

Git Pull Force to overwrite local files

"Git Pull Force", "git reset branch to origin" or in other words, to pull a remote branch to overwrite a local branch, seems to be wildly searched feature with

Repo manifest for different relative paths for git and review

Is there any way to configure repo if there are different relative path for fetch and review. Example Fetch managed by gitweb : ssh://gitweb.foo.com/data/bar

error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1) I tried 'push' while writing 'git'. However, the following messag

Get last modification dates of files in directory in git

I have a folder full of files and I want to get the timestamps of last git update for each of those files. I'd like to get those in a Gradle task. I tried the f

Behavior of bat and Powershell is different when clicked vs run from respective consoles, specifically with git

This post appears wordy, but there's actually not much here to read. Just figured more details > less details. I am working on some tools to speed up my git

copy a branch from one to another repo

I have two git repos which should be kept in sync and can NOT be accessed at the same time. One is at work and one is at home and there is no network connection

Git: Show files which were not recently modified

In order to clean some git repo, I'd like to list all files which didn't receive any new commit for more than some period (let's tell one year for example). I