ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Visual Studio Code - Git Integration

    Scheduled Pinned Locked Moved IT Discussion
    12 Posts 5 Posters 897 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      You can, but I never do. I just use GIT manually. I should probably stop doing that.

      A 1 Reply Last reply Reply Quote 0
      • A
        Alex Sage @scottalanmiller
        last edited by Alex Sage

        @scottalanmiller That's how I use them now as well, but I want to see if I can get it integrated 😄

        1 Reply Last reply Reply Quote 0
        • dbeatoD
          dbeato @Alex Sage
          last edited by

          @aaronstuder said in Visual Studio Code - Git Integration:

          How do you integrate git with Visual Studio Code on Windows?

          I have installed Visual Studio Code and it ask for git to be installed, so I installed git but I can't figure out how to get them integrated.

          I assume you can commit, push, pull, etc all from VS code?

          it works totally fine. I save a workspace on a folder. Clone the Git through the Terminal and then fetch it
          0_1541435265573_98bbc8cb-e6fa-4fc2-bd41-0b97285a4297-image.png

          1 Reply Last reply Reply Quote 0
          • dbeatoD
            dbeato
            last edited by

            I installed the following Extensions to make it nicer
            0_1541435318858_fccdc460-b8ae-4acc-89f7-47bd9987ae05-image.png
            My History shows correctly as my github
            0_1541435385158_24983d76-50b1-4de2-bed4-4ad49c5aad6d-image.png
            I also setup automatic pull and push below:
            0_1541435431627_73d2786a-331b-4b4b-bf56-67fab2144c0d-image.png

            1 Reply Last reply Reply Quote 0
            • dbeatoD
              dbeato
              last edited by

              Much of my Commits, push, pull, checkouts are done manually on the terminal
              0_1541435481272_2c855503-5ca9-4e67-aded-998256eeee34-image.png

              A 1 Reply Last reply Reply Quote 0
              • A
                Alex Sage @dbeato
                last edited by Alex Sage

                @dbeato said in Visual Studio Code - Git Integration:

                Much of my Commits, push, pull, checkouts are done manually on the terminal
                0_1541435481272_2c855503-5ca9-4e67-aded-998256eeee34-image.png

                Yeah, I can do that as well, I was just wondering if you can set it up to press a button to push, pull, etc.

                1 Reply Last reply Reply Quote 0
                • A
                  Alex Sage
                  last edited by

                  Also, I didn't realize you can run the terminal right from VS code. That's sweet! 🙂

                  1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch
                    last edited by JaredBusch

                    Git integration is native and built in assuming it is installed on your OS to begin with.

                    1 Reply Last reply Reply Quote 1
                    • ObsolesceO
                      Obsolesce
                      last edited by

                      Install GIT for Windows and it will just work in VSCode.

                      I do it all via VSCode, rarely manually.

                      I have left ALT+1 to commit, ALT+2 to push, ALT+3 to pull. I have commit automatically stage changes.

                      So when I'm coding, I CTRL+S to save, ALT+1, then ALT+2. Takes 5 seconds, so easy.

                      A 1 Reply Last reply Reply Quote 3
                      • ObsolesceO
                        Obsolesce
                        last edited by Obsolesce

                        You will want the "Git Extension Pack" by Don Jayamanne. (also, various extensions to better support the languages you're coding in)

                        Also, the "Settings Sync" extension by Shan Khan is excellent if you use VSCode on multiple devices.

                        1 Reply Last reply Reply Quote 3
                        • A
                          Alex Sage @Obsolesce
                          last edited by

                          @Obsolesce Thanks! 🙂

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post