Creating a centralized git workflow

This weekend, I made an interesting (re)discovery. I was digging though some old emails and found an email with details about how an acquaintance and I were creating a centralized git workflow. I figured out how to keep my project in sync with yours. I use git on the command-line, but I imagine it should… Continue reading Creating a centralized git workflow

Using the ‘–‘ argument with git

If you add ‘–‘ to your git command, git will know not to process anything after the double hyphen as a command-line argument. This was useful to know for the situation I just found myself in. I had accidentally cloned a repo into a directory called “–force”. I had placed the –force argument in the… Continue reading Using the ‘–‘ argument with git

Squashing commits in git

My first open source contribution was just accepted! (Technically, it’s my 2nd contribution, but 1st accepted one!) It was a very minor change, just an update to the user’s profile page on GitLab. Nevertheless, it’s a great feeling, knowing that I can directly improve a¬†great product that I actually use. And I gained a bit… Continue reading Squashing commits in git

Merge git history from two separate projects

Merging 2 git projects into 1

I am not sure how long Github has offered their Pages service, but I only recently discovered it. And, as I have been trying to improve my workflow, I found the idea of deploying my site with a simple “git push” very enticing. I experimented briefly with Pages and decided to go with Github for… Continue reading Merge git history from two separate projects