Tag: bash
Somehow, the
official documentation
for restoring Gitea from dump did not work for me. Roughly, the following
command for the original rootful Docker image could look like this:
/app/gitea/gitea dump --file gitea-dump.zip -c /data/gitea/conf/app.ini --skip-lfs-data --skip-reposit…
I have already written how
useful a tool git filter-repo is
for cleaning repositories. I made some extensive use of the newfound
knowledge since to undo some previous bad decisions in my private
repositories.
Here's a list of commands for merging project-a into project-b for a
re…
Sometimes you might need to re-sign your previous commits using GnuPG. This
process rewrites the git history in a sense of changing commit hashes. What
is more, it also changes the date when commit was made. If not done
properly, the repository looks like if there was no history …
There is a common saying around version control systems stating the
following:
Do not rewrite the history.
And it is pretty solid saying to be fair, supported at many threads, for
instance at FS#45425 or elsewhere.
You simply have to assume that once you pushed something into t…
I am spoiled by the many test watchers from the javascript world that do
all the file change watching and polling on your behalf, to rerun the tests
the moment you save a particular file. This feature usually comes out of
the box, especially with the more complex tools like Jest …
There is no shortage of privacy related issues on the Internet. One of them
I decided to tackle today is EXIF metadata embedded to the photos I publish
here. I do not publish photos too often currently, but occasionally I do.
Before today, I did not strip any EXIF metadata and th…
Since I have converted my blog to Zola, I started using assets a little bit
more in the posts. I am still not sure if it is the right thing, but for
now it helps me convey information in addition to text.
To embed a photo into the post, there are at least two main options
availab…