Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

  • Programming tips
  • About JP
  • English
    • Français

Git

Git
June 1, 2016 JP

Git: recover deleted files

To recover the delete files, automatically without specifying the path git ls-files -d xargs git checkout —

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Git
December 1, 2015 JP

Git how to check only a folder – Sparse checkout

Since git 1.7.0 it is possible to use a technique called the sparse checkout The steps for clones are: Mkdir<repo></repo>

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Git
September 15, 2015 JP

Git doesn’t fetch all branches in remote

Sometimes when you work with git, you don’t find all the remote branches. Even after using git fetch that do

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Git
July 10, 2014 JP

Delete all local git branches while retaining the master

After a sprint, all the local branches you have are useless and take up space. Below is a small order

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Git
March 5, 2014 JP

Git – How to update its remote branches

To view its local and remote branches $ git branch -a only remotes $ git branch -r For the list

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
  • Français
  • English

Recent Posts

  • Symfony – Doctrine – How to see where a sql query is executed
  • Install drupal/console on drupal 9
  • PHP Spaceship Operator <=>
Copyright © 2025 Jean-Pierre Lambelet. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.