GIT - Magic Bullet
-
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?
-
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?
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
-
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?
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.
-
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?
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
-
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?
-
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?
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
-
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?
If you are new to Git, check out GitExtensions. It's my favorite front-end. https://sourceforge.net/projects/gitextensions/
-
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.
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!