How to extract one file with commit history from a git repo with index-filter & co

My situation was, I have a git repo converted from SVN to HG to GIT, and I wanted to extract just one source file. I also had weird characters like aÌ (an encoding mismatch corrupted Unicode ä)...

git: list of all changed files including those in submodules

I would like to get a list of all files, which have changed betweet two commits including those in submodules. I know I can do this: git diff --name-only --diff-filter=ACMR ${revision} HEAD It...

How to grep the git diff?

Is there a way to show the git-diff filtered by a given pattern. Something like git grepdiff pattern changed file +++ some sentence with pattern changed file 2 --- some other...

How can I run recursive find and replace operations on multiple files in parallel?

I am attempting to replace text data in a git repository using the git filter-branch functionality. I wrote a simple script to search for various terms and replace them. It was running extremely...

How to remove a too large file in a commit when my branch is ahead of master by 5 commits

I've been stuck all day on this issue, looking for an answer here :( ... Context I'm working alone on a project and I used github until now to save my work other than on my computer....

Why is it that "No HTTP resource was found that matches the request URI" here?

I have code in my controller like so: [Route("api/deliveryitems/InsertIntoPPTData/{stringifiedRecord}")] ...and I'm calling it via Postman like so: ...

Git browse through non-empty commits

I work on this project which has many commits with empty changesets. As much as I would like to run git filter-branch and remove those commits, this is really not an option. Are there any tools...

git patches cause error unrecognized input

I'm running Mac OSX 10.9.4 (Mavericks) and have git version 2.8.2. I've tested this with a completely new repo. Here's example. mkdir gitest cd gitest git init echo "monkeyface" > monkey.txt git...

gpg failed to sign the data fatal: failed to write commit object [Git 2.10.0]

I followed few articles over the pretty attributes on Git 2.10 release note. Going through which upgraded the git to 2.10.0 and made changes to global .gitconfig resulting as follows - [filter...

Cordova Phonegap - Android geolocation shows error: Application does not have sufficient geolocation permissions error

On browser and iOS platforms the location works well and shows required data. On the Android it shows current error: Application does not have sufficient geolocation permissions...

git move directory to another repository while keeping the history

First - apologies for asking this question. There are a lot of topics about it already. But I'm not having much luck with them. My lack of familiarity with git is not much help. I'm moving a...

Issue while applying PATCH_SUPEE-9767_CE_1.9.3.0_v1-2017-05-25-09-09-56.sh in magento 1.9.2.4

I am facing issue while Applying PATCH_SUPEE-9767_CE_1.9.3.0_v1-2017-05-25-09-09-56.sh in magento 1.9.2.4. Found below message after apply the patch. I am not aware about the steps to resolve the...

Sonarqube upgrade to 6.7: Unrecoverable indexation failures

Currently we are in middle of upgrade process from v4.5.7 to v6.7.1. SonarQube is successfully upgraded to v5.6.7 (including DB upgrade) and currently in the process of updating to v6.7.1. New...

How can I list all files not hidden by my git-ignore files?

I need to do the equivalent of find while respecting .git/info/exclude and any additional .gitignore files. So far, the git ls-files suggestions all seem to fold in git semantics in ways that...

How to delete all merged local branches in Git with PowerShell

How can I iterate through my branches, filter out merged branches and delete them using Git for Windows in Powershell? I have already attempted some research, but every answer I have found...

How to add a single file to GIT LFS?

How can I add just a single file to GIT LFS? Most examples show adding a pattern that specifies which files to add to LFS. However, I wish to add single file. If, for example, I do git lfs track...

Missing PHP extension zip when trying to install laravel from composer

I have seen this question answered on other posts here, but none of the answers work for me. Mostly because I'm trying to install laravel locally on my mac and the answers are for Linux...

Can't push with Git-large-files

I have the file in my project, that more than 100 MB. I want to push it using git-lfs, but something went wrong and I receiving the same message from remote, that "this file exceeds GitHub's file...

How to debug dotnet test in VS Code?

This article describes setting the VS Code settings to point the debugging target at the build output of the unit test project. I have therefore set mine like this: { ...

git for-each-ref - filter results by age

I'm using the following command from here: git for-each-ref --format='%(color:cyan)%(authordate:format:%m/%d/%Y %I:%M %p) %(align:25,left)%(color:yellow)%(authorname)%(end)...

How to stop git from writing non-errors to stderr

I have a script that I am using to automatically sync various remote git repositories. One thing I am trying to do with my scripts is to capture the output of stderr from every command and write...

Podman (libpod) fails to run while mounting shm with SELinux context

I am currently trying out Podman on Gentoo Linux: # grep -i selinux...

git log show everything _except_ tags

The situation: I use tags in git to flag version releases. I also have a quick command to show me a simple graph in git with all my active dev branches: git log --oneline --graph...

How to build a load more button and a filtering system with ajax on wordpress?

I managed to build a ajax load more following this tutorial. I managed to make it work for my blog post on my blog page. So I didn't change anything. Now I try to make the same for my custom post...

How to get HTML form data for user Object | Spring Boot | Controller |

I am trying to create a simple Web application to register user. I am facing a problem that I can't get the data from the HTML form in my controller method. I have tried a lot of stuffs but gone...

How to modify remote history with git filter-repo?

In the past I've used git filter-branch to remove files from my git history. Following that, I can do a force push to update the remote repository. For example, removing all HTML files from the...

Execution failed for task ':app:generateDebugBuildConfig'. in flutter

THE ANSWER IS POSTED IN THE COMMENTS so I am getting this error when I try to run the flutter run Here is my flutter run -v [ +400 ms] executing: [C:\flutter/] git -c log.showSignature=false log...

`git filter-repo` commands output nothing on Windows

I installed git-filter-repo via scoop, tried multiple git filter-repo commands e.g. git filter-repo -h, they all logged nothing, no warning or error, just nothing. Tried rebooting, reinstalling,...

Arduino Create Agent JS CLIENT how to use

Welcome, currently, I want to upload code to Arduino using JavaScript (NodeJS), I HATE using FIRMATA to upload code, I want to use the official Arduino create agent and Arduino create agent js...