I have created a repository on github and now I wish to add a folder with info in that existing folder. How to do it ??
I want to create a git alias git dir, which when used should open the git installation folder via Windows Explorer, how to implement such an alias?
It seems can't push commits to a new branch to a mirror repository without setting push to upstream. I created a mirror repository in gitea, it synchronizes fro
Background I use SiteGround to host my websites. I have git repos set up for each of my sites on SiteGround. I use SSH keys for authentication. I just set si
I've faced an issue with GitLab, and I don't know how to fix this issue. I'm owner of repository, I've already gpg enabled, but at the end I still face an issue
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