I have a project which has multiple copies of some files in different places. For example: src/location1/foobar.h src/location1/foobar.cpp src/location2/foobar.
By mistake i pushed .env file to github and then i wanted to hide .env file from my private github repo using .gitignore. For this purpose, i did many stupid th
A code base was moved from TFS to Azure/Git though when I view file history in git the history starts at the date of migration. Rather than lo
Looks like there's no way to checkout a previous commit in Visual Studio 2019 except by adding tags and then checking out the commit with the tag. It works (som
I am working in terminal via ssh. When I commit, I am asked for a password to unlock my private key. As long as I have no graphical session running everything
One of my previous employers added the GIT hash of the current commit to the "Details" tab of the file properties of the executable, once it was built. As I fou
I got some problems with a detached head for my repository in a CI pipeline. In the build stage of the pipeline I am running a script, which changes a specific
I have the next output of my git log: commit de812cfacf6e38e713068e96e15e50c5 (HEAD -> rc1.11, origin/rc1.11, rc1.10) Merge: b72b512f7 475d8f391 Author: Pep
I have this directory structure: --/home/user/main_git_project --main_files.txt --sub_git_project --sub_files.txt I added the submodule with git subm
I wonder how git commit works internally. On that, I mean, how the plumbing git write-tree works internally. I have the index with a couple of files, say: % git
I tried running the command 'flutter' in cmd. I am getting this error please resolve it. fatal: ambiguous argument 'HEAD': unknown revision or path not in the w
I'm wondering how to add an original commit hash to each commit message with a help of git filter-repo --commit-callback What I've tried is git filter-repo --co
I am writing a custom danger js check in danger js. I want to avoid running this check when the branch is a hotfix/* branch I want to know how to get the curren
Over a long period of time I am using tortoise git, today I am not able to use the tortoise git and getting the below error. git.exe pull --progress -v --no-re
I'm trying to fix my repository with BFG Repo-Cleaner, by removing some large files that were added to it, using this guide: https://rtyley.github.io/bfg-repo-c
On Windows, how does one configure GIT to prompt or otherwise use a client HTTPS certificate when connecting to an HTTPS repository that requires HTTPS Client a
I want to specify separate gitconfig settings for projects inside a "work" directory, using the "includeIf" directive. I have ~/.gitconfig:
In our organization we have being using jmeter since 4 years. In this time we created, manage and execute our jmx scripts through a network drive to share and w
How to get information from git about current branch, commit date and other when using Vite bundler?
In my repo, I have large files committed in history and also present in latest commit. I want to use git lfs migrate --no-rewirte so that the previous commits S