In the early days of learning git, we met a common problem and wanted to see the history of a file's modification. Here is to give you a detailed explanation of the steps. How to view a file's modification history: The first step is to find a file with a history of changes to Git log--pretty=oneline./static/js/detail.js results will list the following results e4f37d08ce8e9d729a824568f3a23d4eeb21ba30 restore mistakenly deleted JS 85e4a01822b690da8b152d780271a12d9a3b8dd9 add Feedback Details page 0d3893c8c4f8b124ca50731f02334b70b88ebe5e Update Page The second step is to view the specific history of the change record git show E4f37d08ce8e9d729a824568f3a23d4eeb21ba30 results will see the following modification information commit E4f37d08ce8e9d729a824568f3a23d4eeb21ba30 Author: Durban < zhangdapeng89@126.com> date: mon Dec 21 11:26:20 2015 +0800 recover mistakenly deleted js diff--git A/gulpfile.js b /gulpfile.js index 6563D1B. da42836 100644---a/gulpfile.js + + + b/gulpfile.js @@ -78,6 +78,16 @@ -78,6 (' Fonts-replace ', [' publish-fonts '], () =&G T {. Pipe (Gulp.dest ('./static/css/tmp ');}); +gulp.task (' Images-replace ', [' webpack ', ' publish-images '], () = {+ return gulp.src (['./static/build/ Rev/images/*.json ', './.public/js/**/*.js ']) + pipe (revcollector ({+ dirrePlacements: {+ '/images/': ' + } + }) +  ; Pipe (Gulp.dest ('./.public/js/**/*.js ')); +}); + is not very clear. Yeah. Originally from: Gowhich
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.