I am trying to pull from GIT using verbose, it shows all the updated files but it is not showing the absolute path for those files.Is there a way to get full path for the updated files.
i tried command:git pull --verbose
output: Updating b88b206..4a5f5dd Fast-forward .../main/com/manh/cbo/syscode/finitevalue/TESBSysCodeType.java | 3 --- 1 file changed, 3 deletions(-)
i want something like:
Updating b88b206..4a5f5dd Fast-forward C:/GIT/WM2013/te/manifest/JavaSource/main/com/manh/cbo/syscode/finitevalue/TESBSysCodeType.java
git shortens the paths to fit in 80 chars.
git pull implies git merge which has --stat by default. Unfortunately, this --stat has no width option unlike diff, log or show.
So, to see the changed files, save the current SHA1 into a shell variable:
oldsha=`git rev-parse HEAD`
, do git pull and then:
git diff --stat=1000,1000 $oldsha
or
git diff --name-only $oldsha
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With