Home
About
Books
SK blog
Rapture in Everything
Posts tagged "git"
2021 Jul 20
2021 Jul 20
Fixing timestamps on existing git commits
Need to move all of your git commits a few hours to the future or the past, for example to fix a timezone issue? You've come to the right place. This is something I expected would be easy to find online, but wasn't. So I'm leaving it here, in case someone else is googling for it as well. First, you need to install git-filter-repo [https://github.com/newren/git-filter-repo], a great tool for manipulating git repositories. This is a destructive action, so do it at your own risk. The tool will...
tech
git
2019 Dec 30
2019 Dec 30
Getting Started with Github Actions for .NET Core
When I pushed my recent Ghoplin [https://zblesk.net/blog/introducing-ghoplin/] mini-project to GitHub, it automatically offered to define a build action. I really liked the user experience here: GitHub offered the Action feature, detected my project type and generated a file, with project-appropriate defaults and in the correct folder. I updated the dontnet version in the script and tried it; everything works and the task reports a success. name: .NET Core on: [push] jobs: build: run...
programming
tech
git
2017 Nov 14
2017 Nov 14
Making Gitea start automatically with systemd
I managed to deploy my Gitea service, but had difficulties getting it to start automatically on system startup. (Oh, I really miss Windows Scheduler.) I stumbled upon an article explaining how to define a simple systemd unit. I attempted to write one, and it worked! Here is what I came up with:...
how-to
git
ubuntu
2017 Aug 16
2017 Aug 16
Running a git repo site on nginx on Ubuntu
Last time around [https://zblesk.net/blog/ghost-learning-nginx-on-ubuntu/] I wrote about migrating my webs to an Ubuntu VM. One of the few things that were left to migrate was my private git repo hosting site. I'd used Bonobo Git Server [http://bonobogitserver.com/] and had always been satisfied with it. Since it doesn't target .Net Core, I didn't see any reasonable way to run it on Ubuntu. After some searching, I'd fortunately stumbled upon Gitea [https://gitea.io/]. To get it up and running f...
how-to
git
migration
2016 Nov 30
2016 Nov 30
Migrating history from TFS to Git with git-tfs
Maybe you've found yourself stuck with a codebase in the TFS Version Control System and would like to move it, along with its entire history, into Git. If so, this article explains how to do it. Even if you don't plan to move, you might want to check out git-tfs [https://github.com/git-tfs/git-tfs] - a bridge between TFS and Git, that allows you to work with your codebase in TFS as if it were a Git repository. I'd been using git-tfs for multiple projects, and since now the TFS server itself dire...
how-to
git
tech