A hack for getting the email address Git will use for a commit

Posted on December 13, 2016. Filed under: Uncategorized | Tags: , |

A hack for getting the email address Git will use for a commit Suppose I have branch topic checked out. It often happens that I want to     git push origin topic:mjd/topic which pushes the topic branch to the origin repository, but on origin it is named mjd/topic instead of topic. This is a good practice […]

Read Full Post | Make a Comment ( Comments Off on A hack for getting the email address Git will use for a commit )

Another Git catastrophe cleaned up

Posted on December 13, 2016. Filed under: Uncategorized | Tags: , , |

Another Git catastrophe cleaned up My co-worker X had been collaborating with a front-end designer on a very large change, consisting of about 406 commits in total. The sum of the changes was to add 18 new files of code to implement the back end of the new system, and also to implement the front […]

Read Full Post | Make a Comment ( Comments Off on Another Git catastrophe cleaned up )

git-rebase: Why and How

Posted on May 3, 2016. Filed under: Uncategorized | Tags: , , , |

git-rebase: Why and How git-rebase is probably the most useful intermediate-difficulty tool in Git. I will describe some of its many uses and explain what it is doing and how to use it.

Read Full Post | Make a Comment ( Comments Off on git-rebase: Why and How )

How to recover lost files added to Git but not committed

Posted on April 16, 2016. Filed under: Uncategorized | Tags: , , |

How to recover lost files added to Git but not committed If you lose something [in Git], don’t panic. There’s a good chance that you can find someone who will be able to hunt it down again. So said MJD’s previous blog. This is a write-up of how he recovered some files that he accidentally […]

Read Full Post | Make a Comment ( Comments Off on How to recover lost files added to Git but not committed )

Liked it here?
Why not try sites on the blogroll...