');mask-image:url('data:image/svg+xml;utf8,');-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;opacity:.8}.icon__chevron-down{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.icon__gear{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.icon__info{-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.icon--sm{height:15px;width:15px;top:3px}.icon--md{height:30px;width:24px;top:12px}.icon--lg{height:36px;width:30px;top:15px}body.vscode-light{background-color:var(--color-background--darken-05)}header{grid-area:header;display:grid;grid-template-columns:max-content minmax(396px,auto);grid-gap:1em 4em;align-items:center;margin:0 2em}@media all and (max-width:768px){header{grid-template-columns:auto;justify-items:center;grid-gap:1rem}}.blurb{font-size:1.5rem;font-weight:200;color:var(--color-foreground--65);margin:1em}.blurb b{color:var(--color-foreground--85)}.vscode-light .blurb{color:var(--color-foreground--75)}.command{font-weight:600;padding:1px 3px}.container{display:grid;grid-template-areas:"banner banner" "header header" "hero hero" "content sidebar";grid-template-columns:repeat(1,1fr min-content);grid-gap:1em 0;margin:1em auto;max-width:1200px;min-width:450px}.banner{grid-area:banner;margin:1em;display:flex}.banner img{border-radius:8px}.content__area{grid-area:content;font-size:1.4rem}.vscode-dark .content__area{background-color:var(--color-background--lighten-05)}.vscode-light .content__area{background-color:var(--color-background)}@media all and (max-width:768px){.content__area{grid-column:span 1}}.content__area--full-scroll{background-color:unset!important;margin-bottom:90vh}.content__area--full-scroll .section--settings{margin:0 0 1em 0}.cta{display:flex;flex-wrap:wrap;justify-content:center;font-size:1.3rem;margin:0}.cta p{margin-left:10%;margin-right:10%;margin-top:-.5em;opacity:.6}.cta--primary{margin:0 1em}.cta--secondary{margin:0 1em}.header__blurb{color:var(--color-foreground--75);font-size:1.5rem;font-weight:200;margin:0;text-align:justify}.header__link{color:var(--color-foreground);outline:0;margin:0 1rem .75rem 2rem}.header__link:active,.header__link:focus,.header__link:hover{color:var(--color-foreground);outline:0}@media all and (max-width:768px){.header__link{margin:0 0 .75rem 0}}.header__logo{display:flex;flex-wrap:nowrap}.header__title{font-family:"Segoe UI Semibold",var(--font-family)}.header__title--highlight{color:#914db3}.header__subtitle{color:var(--color-foreground--65);font-family:"Segoe UI Light",var(--font-family);font-size:2rem;font-weight:100;margin:-.5em 0 0 4px;white-space:nowrap}.hero__area{grid-area:hero;color:var(--color-foreground--75);font-size:1.5rem;font-weight:200;margin:0 1em}.hero__area b{color:var(--color-foreground--85)}.image__logo{margin:9px 1em 0 0;max-height:64px;max-width:64px}.image__preview{border-radius:8px;box-shadow:0 0 1px 0 rgba(0,0,0,.8),0 0 12px 1px rgba(0,0,0,.5);width:600px}.image__preview--overlay{left:0;position:absolute;top:0}.link__configure,.link__learn-more{margin-left:10px}.presets{align-items:baseline;justify-content:center;display:flex;width:100%;flex-wrap:wrap}.preset{text-align:center}.preset p{color:var(--color-foreground--75);display:block;font-weight:200;font-size:1.3rem;margin:-.5em 1em .5em 1em;text-align:center}section{display:flex;flex-wrap:wrap;margin-bottom:1em;padding:1em}section h2{flex:1 0 auto;display:flex;margin-top:0;margin-bottom:1em}.section--full{flex-flow:column}.section--settings{flex:0 1 auto;display:flex;flex-wrap:wrap;border-radius:6px;margin:1em;padding:1em}.vscode-dark .section--settings{background:var(--color-background--lighten-075)}.vscode-light .section--settings{background:var(--color-background--darken-05)}.section__content{flex:1 1 auto;display:flex;flex-flow:column wrap}.section__header{display:flex;align-items:baseline;flex:0 1 auto;flex-flow:column;margin-bottom:1em;margin-right:1em;position:relative}.section__header h2{margin-bottom:0}.section__header .link__configure,.section__header .link__learn-more{visibility:hidden}.section__header:hover .link__configure,.section__header:hover .link__learn-more{visibility:visible}.section__header-hint{color:var(--color-foreground--75);font-weight:200;margin:.25em 0}.section__hint{flex:0 0 auto;color:var(--color-foreground--75);font-weight:200;margin:0}.section__preview{flex:0 1 auto;position:relative;margin-left:auto;margin-right:auto}.section__title{flex:1 0 auto;margin:0}.section__title--primary{font-size:3rem;margin:.3em 0;justify-content:center}.section__title--break{margin:.3em 15% 0 15%;padding-top:1em;justify-content:center}.vscode-dark .section__title--break{border-top:1px solid var(--color-background--lighten-30)}.vscode-light .section__title--break{border-top:1px solid var(--color-background--darken-30)}.section__whatsnew{display:flex;flex-direction:column;align-items:center;font-weight:200;margin:1rem}.section__whatsnew img{width:100%;max-width:600px;border-radius:8px;box-shadow:0 0 1px 0 rgba(0,0,0,.8),0 0 12px 1px rgba(0,0,0,.5);margin-bottom:2rem}.section__whatsnew a{font-weight:600}.button__subaction{color:var(--color-foreground--65);margin-top:-.5rem}.setting{flex:0 1 auto;position:relative;margin-right:1em}.setting input[type=checkbox]{flex:0 0 16px;height:16px;margin:0 10px 0 0;position:relative;top:3px;width:16px}.setting[disabled] label{color:var(--color-foreground--75);cursor:default}.setting__input{display:inline-flex;flex-wrap:nowrap;align-items:baseline;line-height:normal;margin:.5em 0}.setting__input input,.setting__input select{flex-grow:1}.setting__input input+.link__configure,.setting__input input+.link__learn-more,.setting__input select+.link__configure,.setting__input select+.link__learn-more{margin-left:0}.setting__input input:not([type]),.setting__input input[type=text]{min-width:245px}.setting__input label{flex-grow:0}.setting__input label>select{margin-top:.25em}.setting__input .link__configure,.setting__input .link__learn-more{visibility:hidden;max-height:15px}.setting__input .link__configure .icon,.setting__input .link__learn-more .icon{display:block;top:unset}.setting__input:hover .link__configure,.setting__input:hover .link__learn-more{visibility:visible}.setting__input--big{font-size:2.2rem;font-weight:200;margin:0}.setting__input--big input[type=checkbox]{flex:0 0 1.5em;height:1em;margin:0;position:relative;top:3px;left:-5px;width:1em}.setting__input--big label{white-space:nowrap}.setting__input--big .link__configure,.setting__input--big .link__learn-more{max-height:17px}.setting__input--format{display:flex}.setting__input--format input:not([type]),.setting__input--format input[type=text]{max-width:unset}.setting__hint{color:var(--color-foreground--75);display:block;font-weight:200;font-size:1.3rem;margin:0 1em .5em 1em}.settings{flex:1 0 auto;display:flex;flex-wrap:wrap}.settings .setting{margin-right:3em}.settings--fixed{display:block}.sidebar{grid-area:sidebar;align-self:flex-start;font-size:1.3rem;position:sticky;top:0;z-index:2}@media all and (max-width:768px){.sidebar{display:none}}.sidebar li{white-space:nowrap}.sidebar .button{margin:0}.sidebar__group{margin-top:1em}.sidebar__group h2{font-size:2rem}.sidebar__group p{font-weight:400;opacity:.5;text-align:center}.sidebar__jump-link.active{font-weight:700}.sidebar__jump-link.active:before{content:" ";border-left:4px solid var(--color-link-foreground--darken-20);position:absolute;left:-1em;height:1em;padding-bottom:4px}.vscode-light .sidebar__jump-link.active:before{border-left-color:var(--color-link-foreground--lighten-20)}.highlight{background-color:#914db3;border-bottom:2px solid #914db3;border-radius:3px;color:#f2f2f2;margin:0 .25em;padding:2px 10px;text-align:center;vertical-align:bottom}.is-sidebar-hidden{display:none}@media all and (max-width:768px){.is-sidebar-hidden{display:initial}}.bold{font-weight:600}.center{text-align:center}.hidden{display:none!important}.mb-0{margin-bottom:0!important}.mb-05{margin-bottom:.5em!important}.mb-1{margin-bottom:1em!important}.mb-2{margin-bottom:2em!important}.ml-0{margin-left:0!important}.ml-1{margin-left:1em!important}.ml-2{margin-left:2em!important}.ml-3{margin-left:3em!important}.ml-4{margin-left:4em!important}.mr-0{margin-right:0!important}.mr-1{margin-right:1em!important}.mr-2{margin-right:2em!important}.mt-n1{margin-top:-1em!important}.mt-0{margin-top:0!important}.mt-05{margin-top:.5em!important}.mt-1{margin-top:1em!important}.mt-2{margin-top:2em!important}.non-interactive{cursor:default!important}.nowrap{white-space:nowrap!important}.vscode-dark .light{display:none}.vscode-light .dark{display:none}.sidebar{margin-right:14px}
Git supercharged
GitLens supercharges Git inside VS Code and unlocks the untapped knowledge within each repository. It helps you to visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more.
GitLens is powerful, feature rich, and highly customizable to meet your needs. Do you find CodeLens intrusive or the current line blame annotation distracting — no problem, quickly turn them off or change how they behave using the options below.
For more options, use the interactive GitLens settings editor
GitLens views can be configured to be shown in different side bar layouts to best match your workflow
Shows all the views together on the Source Control side bar
Shows all the views together on the GitLens side bar
You can also simply drag & drop individual views to create custom layouts