![]() It also tells you in what commit the line of text was changed and who made the change. The git blame command tells you when a line of text in a file was last changed. If multiple changes had been made to this line of text, more commits would be listed. The commit was pushed by James Gallagher. The commit in which the “# Articles” line was added was bad0b91c. All you need to do is check its entry in git blame:Ĭommit bad0b91c5bf9f5fc28ef8753578376e925182b2b (HEAD -> master, origin/master) Suppose you wanted to know who added the “# Articles” heading to the document. This tells us that jamesgallagher432 authored the first line in the repository. This data is shown for every line in our project. The date on which the commit was created: 12:57:37 +0100Ĭontents of the line: # Career Karma Web Tutorials The first line of our file contains the following metadata: There’s a lot of information we can tell from this output. There are more lines to show but we don’t need to analyze every line for this tutorial. This shows the first seven lines of our README.md file, line by line. Education Stipends for Coding Bootcamps.Best Coding Bootcamp Scholarships and Grants.Ultimate Guide to Coding Bootcamp Loans.Best Free Bootcamps and Coding Training.Best Online Coding Bootcamps and Courses.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |