Git

Rietta's Git posts cover branch protection, git reset, rebase --autosquash, forking workflows, and GitHub merge methods.

10/07/2019

Acknowledge Open-Source Contributors with Git Authorship

Git has dominated for over a decade, yet some popular open-source projects don't properly credit contributors, despite an ethical obligation to do so.

Read More: Acknowledge Open-Source Contributors with Git Authorship

09/25/2019

Why do Rietta Developers Git Fork?

Forking is a standard way to contribute to open source projects. At Rietta, a small agency, all developers fork internal repositories for client projects.

Read More: Why do Rietta Developers Git Fork?

06/07/2019

What's the Difference Between the 3 Github Merge Methods?

GitHub's interface makes merging commits versatile to suit your style of keeping a clean Git history. The three styles are Create Commit, Squash, and Rebase.

Read More: What's the Difference Between the 3 Github Merge Methods?

05/23/2019

Manually Editing Git Hunks: The Easy Way

Git add --patch can help keep code changes relevant with their commits. When changes are unsplittable, we can use Manual-Hunk to split changes line by line.

Read More: Manually Editing Git Hunks: The Easy Way

05/21/2019

How to hide .gitignored Files from fzf.vim

Keep those nasty .gitignored files like node_modules/ from clogging up fzf fuzzy finder and show commited, hidden files such as .circleci/config.

Read More: How to hide .gitignored Files from fzf.vim

05/09/2019

Restrict Who Can Push to Matching Branches on Github

On GitHub, you can enable branch restrictions allowing only certain users, teams, or apps to be able to push to a protected branch.

Read More: Restrict Who Can Push to Matching Branches on Github

05/07/2019

Fixup your Code Reviews with git rebase --autosquash

Git rebase flows result in clean history. Squashing code review fixups into the PR make it hard to see what changed. Rietta devs use --autosquash instead.

Read More: Fixup your Code Reviews with git rebase --autosquash

04/22/2019

How to Use git reset

Git reset can unstage changes, undo commits, or selectively revert changes with --patch. Learn the differences between reset, reset --soft, and reset --patch.

Read More: How to Use git reset