git checkout: what does this weird output mean?
GitGit Problem Overview
When I checkout, I get:
me@localhost# git checkout master
D deps/example
M deps/example2
Switched to branch "master"
The man page doesn't mention this cryptic output. What does it mean?
Git Solutions
Solution 1 - Git
That's the output of git status
; git is showing you that after checking out master
there are still uncommited changes to your working copy (one modified file and one deleted file).
Check man git-status
:
M = modified
A = added
D = deleted
R = renamed
C = copied
U = updated but unmerged