Git


Git

Git: how to delete all files outside of the history

Published on 26/03/2026

Discover how to remove files untracked by Git after a git reset, using git clean, the right options,...

Git

Git: How to merge two histories with no common base

Published on 27/05/2024

Fix the "refusing to merge unrelated histories" Git error with a simple parameter in your `git merge...

GitBest practices

How to write good commit messages?

Published on 15/04/2024

Discover best practices and a naming convention for your commit messages with Git!

StatisticsGitGitHub

The most widely used source code hosting platform by developers

Published on 12/01/2024

GitHub, GitLab, BitBucket, Froggit, etc... What choices do most devs make?

Git

Reset a branch from origin with Git

Published on 15/02/2023

Stuck with a Git branch in an unwanted state? Here are the three steps to reset your branch to its i...

GitBest practices

5 reasons to use Git even when working alone

Published on 03/01/2023

Why deprive yourself of the power of a tool like Git, simply because you're not working as part of a...

Git

Keep an empty folder in Git history

Published on 16/05/2022

By default, an empty folder will not be tracked by Git. Here are two solutions to work around this c...

Git

What is the purpose of the `-u` parameter when running `git push`?

Published on 28/03/2022

In most documentation, you'll see the command "git push -u origin master", but what is the purpose o...

Git

Resolving the "shallow update not allowed" Git error

Published on 25/01/2022

You've changed the remote origin of your project's repository and can't push your code? Here are the...

Git

Git: Reset a local branch from origin

Published on 24/11/2021

The answer to your query: "git how to reset local branch to remote" !

Page 1