TIL: GitHub Actions on cron Job Might Be Late

Today I learned that scheduled GitHub Actions might be late or not run at all. 😠 I’ve written a script which fetches my blog posts every week on Monday and creates a draft with my newsletter provider. The script uses a cron job. I assumed that the cron job will run at the specified time. Unfortunately, that’s not the case as per this post in the GitHub support forums: Many times, there is a delay when triggering the scheduled workflow.
Read more β†’

My Git Aliases And Abbreviations

As a developer, Git is one of the essential tools in my daily work. Today I want to share my git aliases and fish abbreviations that make working with Git more comfortable. In my ~/.gitconfig file: [alias] # Git Commit, and Push β€” in one step. cmp = "!f() { git commit -m \"$@\"; }; f" # NEW. new = "!f() { git cmp \"πŸ“¦ NEW: $@\"; }; f" # IMPROVE.
Read more β†’

Deploy to GitHub Pages Without Jekyll

Deploy to GitHub Pages Without Jekyll
I’m part of a community of self-taught developers. I’m trying to help tech newbies in the discord channel. Judging from the number of questions, new developers seem to have problems deploying static websites to GitHub pages. In this article, I’ll show you a basic way to bring your first front-end projects to life on GitHub pages. Prerequisites On your computer: Git Node.js You’ll also need a free GitHub account.
Read more β†’

Friday Picks 074

Read more β†’

TIL About Adding a New Line to “git commit -m”

For Git messages I use git commit -m to add a headline to a git commit. So far, I’ve never used the detailed summary which you can add to a commit message. It was tooMuch of a hassle to open a text editor and add a detailed explanation. Today I learned that you can write a multi-line commit message with git commit -m. For example, in Bash: git commit -m 'my headline Here goes the detailed explanation of the commit ' Source:
Read more β†’

TIL About Git Pretty Log

Read more β†’

TIL How to Revert Last Git Commit but Keep Changes

Read more β†’

Git: Use Different Email Addresses And Keep Them Private

Both GitLab and GitHub allow you to use a private email address. Setting your commit email address on GitHub Commit email on GitLab Now, your regular email address will be private and others can’t see it on those platforms. But that also means that you now have two different email addresses that you have to add to your Git configuration. There are different ways to tackle this problem. For example, you can set a global configuration:
Read more β†’

Sign up for the newletter!

powered by Buttondown