Articles tagged "git"
Git Rebase vs Merge vs Squash: When to Use Each (2026 Guide)
Git rebase vs merge vs squash explained: when each strategy produces a better commit history, how to do interactive rebase, how to fix a botched rebase, and team workflow recommendations.
GitHub CLI (gh) Tutorial 2026: Replace Your Browser Workflow from the Terminal
Complete GitHub CLI (gh) tutorial 2026: manage issues, create and review PRs, trigger GitHub Actions, create releases, build custom aliases, and use gh in CI/CD scripts — full developer workflow from the terminal.
SOLVED: gpg signing failed: inappropriate ioctl for device
Fix "gpg signing failed: inappropriate ioctl for device" when doing git commit. Set GPG_TTY, restart gpg-agent, or use pinentry-mode loopback.
Everything about what you should or should commit
In this tutorial, we are going to answer the question *should I commit...*. For example, should you commit .gitignore file? mix-manifest.json or what about package-lock.json? Check here the common questions about which files you should or should not...
Different ways to revert git repository commit
To undo last commit not pushed try: git reset --soft HEAD~1. To undo last commit pushed use: git revert HEAD~1. Check this tutorial for more examples!
How to overwrite local files while doing "git pull"?
In this tutorial we are going to explain how to force a git pull when there are untracked files that will be overwritten. This tutorial solved the error: Untracked working tree file 'public/images/icon.gif' would be overwritten by merge.
How to check out a remote Git branch?
To checkout a remote branch you need first to do git fetch. Check this tutorial to learn with more details how to checkout remote branch with git.
How to delete a Git branch and tags locally and remotely?
Learn how to use git to delete local and remote branchs. We also include how to delete tags.
How to undo last commit not pushed?
Here we explain how to undo or fix wrong commited files to Git that were not pushed to external repository.