Monday, September 30, 2019

porcelain in git

As best as I can tell this gives you less verbose messages from any git command that would return a message. This suggests that porcelain is of the toilet which is of plumbing which can colloquially mean the deep mechanics of something in attempting to explain the name. If...

git status

 
 

...gives us:

On branch 33157-clean-up
Changes not staged for commit:
   (use "git add <file>..." to update what will be committed)
   (use "git checkout -- <file>..." to discard changes in working directory)
   
      
modified:  Trifecta.Core.Test/Trifecta.Core.Test.csproj
      modified:  Trifecta.Core/Trifecta.Core.csproj
      modified:  Trifecta.Infrastructure/Trifecta.Infrastructure.csproj
      modified:  Trifecta.RestApi/Trifecta.RestApi.csproj

   
no changes added to commit (use "git add" and/or "git commit -a

 
 

...then this...

git status --porcelain

 
 

...gives:

 M src/Trifecta/Trifecta.Core.Test/Trifecta.Core.Test.csproj
 M src/Trifecta/Trifecta.Core/Trifecta.Core.csproj
 M src/Trifecta/Trifecta.Infrastructure/Trifecta.Infrastructure.csproj
 M src/Trifecta/Trifecta.RestApi/Trifecta.RestApi.csproj

 
 

...in contrast! Also if...

git status

 
 

...gives us:

On branch 33157-clean-up
nothing to commit, working tree clean

 
 

...then...

git status --porcelain

 
 

...gives us absolutely nothing in the name of keeping things to the point!

No comments:

Post a Comment