简体   繁体   中英

git checkout: what does this weird output mean?

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM