Re: [development] using git, create patch with new files
11 Apr
2011
11 Apr
'11
9:34 p.m.
Kyle, "git diff --cached" gets me only the added files, not the modified files. Still looking for a way to build one cohesive .patch file. -Dave On Monday 11 April 2011 10:28:45 Kyle Mathews wrote:
Hmm... well those instructions are wrong I guess.
"git diff" is the diff of changes since the last commit that have *not* been staged. So once you've added a file via "git add", it won't show up anymore when you run "git diff".
If you want to see the diff between the last commit and staged files, run "git diff --cached"
-- Kyle Mathews
Blog: kyle.mathews2000.com/blog Twitter: http://twitter.com/kylemathews
5550
Age (days ago)
5550
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dave Cohen