Skip to main content
Christacticc
Participant
Feb 28, 2020 10:26 AM UTC
Answered

History functionality in code too invasive

Hello,
In the code display, there are orange / green / red margins on the left which display the deleted code in a red block with an R to restore this deleted code.
Where are these functions explained?
I find this very annoying because I prefer to be able to simply select lines by clicking and dragging on the line numbers.
How can we deactivate this history reminder function?

Thanks!

This topic is closed to new replies. Start a new post to keep the conversation going.
pziecina
pziecinaCorrect answer
Legend
Feb 28, 2020 4:29 PM UTC

The colored bars are there because you are using git as a version control system.

They show which sections of code have been deleted, changed and included, when the file(s) are compared with older/newer vesrsion from the git repository.

 

The color coding is almost standard for such use, (MS Word, Project, etc) and many version control systems do the same. I don't use git, but maybe another participant can tell you how to just use git as a 'back-up' sytem, (which is the only reason left to use git, without version control).

2 replies

pziecina
pziecinaCorrect answer
Legend
Feb 28, 2020 4:29 PM UTC

The colored bars are there because you are using git as a version control system.

They show which sections of code have been deleted, changed and included, when the file(s) are compared with older/newer vesrsion from the git repository.

 

The color coding is almost standard for such use, (MS Word, Project, etc) and many version control systems do the same. I don't use git, but maybe another participant can tell you how to just use git as a 'back-up' sytem, (which is the only reason left to use git, without version control).

Translate
Christacticc
Participant
Feb 28, 2020 5:09 PM UTC

Thank you very much !

Translate