Category: Git

Working with Git Remotes
Learn to manage Git remotes: add, remove, rename, and inspect them with git remote. Understand tracking branches and how to work with multiple remotes.

Stashing Changes with git stash
Need to switch branches urgently but have unfinished changes? Git stash is your lifesaver. Learn how to temporarily save your work and recover it whenever you need it.

Advanced branching in Git
Master Git branches: fast-forward merges, merge strategies, branch management with git branch and git switch, and how to recover from a detached HEAD state.

Understanding file changes with git diff
Before making a commit, do you know exactly what you've changed? git diff shows you line by line what was modified, what is staged, and what differs between branches.

Tracking and ignoring files in Git
Not every file in your project should be in Git. Learn how to use .gitignore to exclude what shouldn't be versioned and how to configure a global .gitignore for your machine.

Understanding git status and git log
Two commands you'll use every single day with Git: git status tells you the current state of your repository and git log shows you its history. In this tutorial we study both in depth.

The most useful Oh My ZSH! aliases to increase our productivity with Git
Discover the most useful Oh My ZSH! aliases for working with Git. Learn how to speed up your commands and increase your productivity.

Releasing new versions of our projects using Git tags
Discover how to use Git tags to version your code. Learn how to create, list, and delete annotated and lightweight tags.

Using Git aliases to increase our productivity
Learn how to create Git aliases to execute commands faster. Discover how to customize your workflow and be more productive.

How to undo commits in Git
Learn how to undo commits in Git using reset and revert. Discover when to use each command and how to avoid conflicts in remote repositories.