I changed a file to adjust comments. The lines that are deleted are in red, which to me means that they will be removed. The only option I see is to "Reverse hunk" for each change, which I do *not* want to do. How do I just accept the change in order to complete it? To me there should be another button that says, "Accept change" or something. What is the next step to get this file back into my personal REPO? I tried to just push it back in, but it just has this screen again. Thanks in advance, Steve
Or, perhaps I don't do anything? It's just showing the change? Then why is it in bold in Sourcetree (the commit in bold)?
You don’t need to “accept” the changes in Sourcetree — the red/green lines are just showing the diff.
If you’re happy with the edits, the next step is to stage the file (check the box next to it), then commit your changes. After committing, you can push to your remote repo.
“Reverse hunk” is only there if you want to undo the changes, but if the changes are correct, just stage → commit → push.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.