Title here
Summary here
This is after you’ve created a new branch, made changes, checked them in and pushed them.
git checkout main
git merge [ branch_name ]
git add .
git commit
git push
# ~/.gitconfig
[url "https://[ username ]:[ git_token ]@git.domain.tld"]
insteadOf = https://git.domain.tld
Basically:
git reflog
git reset --hard [ commit_hash ]
It was likely a directory that had been checked in the past.
git rm -r --cached [ cached_dir ]