Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. GIT - Magic Bullet

GIT - Magic Bullet

Scheduled Pinned Locked Moved The Lounge
workspacesysadminlinuxcollaborationquestion
8 Posts 6 Posters 0 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    StampedePress
    wrote on last edited by
    #1

    I'm looking to setup a multipurpose local git server, but I wanted to make sure I was heading down the right path. I have a mixed environment with Windows 10 VS2015 development as well as some Linux servers using VIM and Atom the text editor. Is there a git magic bullet that would work in a mixed environment like this? Is it as simple as pointing everything to my Linux git server and making periodic commits using Windows and Linux command line?

    G B M B M 6 Replies Last reply
    0
    • S StampedePress

      I'm looking to setup a multipurpose local git server, but I wanted to make sure I was heading down the right path. I have a mixed environment with Windows 10 VS2015 development as well as some Linux servers using VIM and Atom the text editor. Is there a git magic bullet that would work in a mixed environment like this? Is it as simple as pointing everything to my Linux git server and making periodic commits using Windows and Linux command line?

      G Offline
      G Offline
      Garth J Lancaster
      wrote on last edited by
      #2

      I would have thought you just set up a local git server on whatever hardware you have - Windows, Linux, and just use whatever client - command-line, SourceTree, VS Code etc that you have The only caveat I'd add is, make sure you back up your git server periodically Im pretty agnostic on o/s - whatever meets your requirements ;P

      1 Reply Last reply
      0
      • S StampedePress

        I'm looking to setup a multipurpose local git server, but I wanted to make sure I was heading down the right path. I have a mixed environment with Windows 10 VS2015 development as well as some Linux servers using VIM and Atom the text editor. Is there a git magic bullet that would work in a mixed environment like this? Is it as simple as pointing everything to my Linux git server and making periodic commits using Windows and Linux command line?

        B Offline
        B Offline
        Brady Kelly
        wrote on last edited by
        #3

        You don't have to set up an HTTP git server; you can set up a filesystem based remote repo on any machine you want, but it lacks auth etc. However, it does spare you having to set up an actual Git server in either machine.

        Follow my adventures with .NET Core at my new blog, Erisia Information Services.

        1 Reply Last reply
        0
        • S StampedePress

          I'm looking to setup a multipurpose local git server, but I wanted to make sure I was heading down the right path. I have a mixed environment with Windows 10 VS2015 development as well as some Linux servers using VIM and Atom the text editor. Is there a git magic bullet that would work in a mixed environment like this? Is it as simple as pointing everything to my Linux git server and making periodic commits using Windows and Linux command line?

          M Offline
          M Offline
          Marc Clifton
          wrote on last edited by
          #4

          StampedePress wrote:

          Is it as simple as ... using Windows and Linux command line?

          Nothing about the git command line is simple. Let me rephrase that. Nothing about git is simple! ;) Marc

          V.A.P.O.R.ware - Visual Assisted Programming / Organizational Representation Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

          1 Reply Last reply
          0
          • S StampedePress

            I'm looking to setup a multipurpose local git server, but I wanted to make sure I was heading down the right path. I have a mixed environment with Windows 10 VS2015 development as well as some Linux servers using VIM and Atom the text editor. Is there a git magic bullet that would work in a mixed environment like this? Is it as simple as pointing everything to my Linux git server and making periodic commits using Windows and Linux command line?

            B Offline
            B Offline
            Basildane
            wrote on last edited by
            #5

            I use those same tools as well. Git commits are done to your local folder where your project lives. Then, if you want to collaborate, you can push your local commits to a server. I like Gitlab myself. I run a Gitlab server at home and at work.

            S 1 Reply Last reply
            0
            • S StampedePress

              I'm looking to setup a multipurpose local git server, but I wanted to make sure I was heading down the right path. I have a mixed environment with Windows 10 VS2015 development as well as some Linux servers using VIM and Atom the text editor. Is there a git magic bullet that would work in a mixed environment like this? Is it as simple as pointing everything to my Linux git server and making periodic commits using Windows and Linux command line?

              M Offline
              M Offline
              Manfred Rudolf Bihy
              wrote on last edited by
              #6

              Yes it is as simple as that. If windows clients and linux clients will share some code, you will have to look into automatic line ending conversions. If you have not done so already, do read the git documentation, especially the book: Git - Book[^]. This was really helpful in getting me to understand GIT, when we switched from TFSVC to TFSGIT. And a great big caveat: VS 2015 GIT integration sucks big time. Not all commands work and some of them work only when called from a certain menu. When mixing command line calls of GIT and invocations from within a VS instance running as administrator are also very error prone. Otherwise I really love GIT and wouldn't consider switching back. Cheers!

              "I had the right to remain silent, but I didn't have the ability!"

              Ron White, Comedian

              1 Reply Last reply
              0
              • S StampedePress

                I'm looking to setup a multipurpose local git server, but I wanted to make sure I was heading down the right path. I have a mixed environment with Windows 10 VS2015 development as well as some Linux servers using VIM and Atom the text editor. Is there a git magic bullet that would work in a mixed environment like this? Is it as simple as pointing everything to my Linux git server and making periodic commits using Windows and Linux command line?

                B Offline
                B Offline
                Basildane
                wrote on last edited by
                #7

                If you are new to Git, check out GitExtensions. It's my favorite front-end. https://sourceforge.net/projects/gitextensions/

                1 Reply Last reply
                0
                • B Basildane

                  I use those same tools as well. Git commits are done to your local folder where your project lives. Then, if you want to collaborate, you can push your local commits to a server. I like Gitlab myself. I run a Gitlab server at home and at work.

                  S Offline
                  S Offline
                  StampedePress
                  wrote on last edited by
                  #8

                  Ok great, that's exactly what I was looking for. Knowing that it's possible is half the battle! I briefly read about Git Lab, I'll look into that. Fortunately the projects that are on the Windows and Linux Dev Box will be different so no need for code sharing. I plan to have the Git server VM run on a Raid 1 setup on a pair of new WD Red drives, plenty of snapshots for emergency backups. Thanks all!

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups