version control - Using git to find first introduction of token on a specific line of a file -


Assume that I have a file, A.cpp, and I see an error on the line 15 of the file. Suppose the error is a "console" on a function that gives an indicator in a member variable, which means that the use of const on the function is technically correct, but semantic is incorrect. I want to discuss words with the author who made changes.

Using GIT, there is a way to find out which modification introduced the "cost" token? More specifically, I want to know who introduced tokens.

"Git flaw" shows who made the last change in the line, but I really would like to find the first token command. / P>

That's what you are looking for. With this command you can quickly start the content.

You start the process with git bisect start , then git good bisector and bad biscar as the current one . Then the system will send you to a version in between, you can check whether there is bad cons, and according to that version, consider that version good or bad. Until then the process is repeated until you do bad things.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -