Move a subdirectory into a new git repository

Context In the real world, we may probably have a large Git repository where you want to move out some sub-directories into single Git repositories. Regarding the Git repository, we…

Undo the last commit

As a software engineer or developer, I am pretty sure we often use git in our work on a daily basis. Many commits are committed to your local or remote…

(English) Create or update a commit by a specified author

Désolé, cet article est seulement disponible en English.

(English) Create an empty commit

(English) When updating a submission, a new revision will be created to capture the updates and a commit will also be created. However, some updates don’t change the files coming alongside the submission but edited some metadata on that submission/dataset. In this case, an empty commit is created to match the newly created version.

(English) Exceptions in a .gitignore file

Désolé, cet article est seulement disponible en English.

(English) Add git branch name to bash prompt

Désolé, cet article est seulement disponible en English.

Git shows files come along a specific commit

Sometimes we need to check which files were come along with a given commit so as to verify which is the missing file, for instance. I bet some of you…

Git tutors

(English) Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and has a tiny footprint with lightning fast performance.