|
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.
|
|
|
|
|
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
|
|
|
|
|
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!
|
|
|
|
|
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
|
|
|
|
|
If you are new to Git, check out GitExtensions. It's my favorite front-end.
https://sourceforge.net/projects/gitextensions/
|
|
|
|
|
|
Life is sooo unfair isn't it? I always do a full background check of the poster before answering any questions.
The real difference might be that your questions may relate directly to MSDN topics and where is the point in writing a more or less accurate version of the same information? And I can't do the reading for you.
I know no MSDN topic that would answer this question here and, as you can see, are having a bit of a discussion. See the difference?
If you just wanted a little attention, that's also ok. I once got a fully trained soldier to stop crying and I'm sure my sensitive and caring methods will work for you as well.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Quote: I know no MSDN topic that would answer this question here and, as you can see, are having a bit of a discussion. See the difference?
That I think is clearly your lack.
Quote: you just wanted a little attention, that's also
Quote: once got a fully trained soldier to stop crying
Who is looking for Attention?
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Atta boy! Let it all out.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
CDP1802 wrote: I'm sure my sensitive and caring methods will work for you as well Said the orc from Mordor
|
|
|
|
|
Good idea. Time to some looting in Skyrim. But I must disappoint you. I play an Elf and even the other Elves think I'm sneaky and arrogant.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
The Falmer were elves once and show some resemblance with orcs
I still think you're an orc from Mordor
|
|
|
|
|
The post below is basically a discussion on style. Something in which that MSDN is sadly lacking.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Yes and it is also ok. But I think you also remember similar questions/discussions here from new members and they will be send to hell...
[Edit]
Same happens also to me because years * rep < allowed
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Perfect use for a goto.
10 ASK Question$
20 GOTO hell
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Perhaps you (and several other people) should read the post before making assumptions on what it says. I know perfectly well the difference between String and string. That is not the question. The questions was about style - something suitably lacking in any requirement of technical thought for a Friday afternoon.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Perhaps you should think about String vs. string and int vs. Int32 are completely different things. Int32 is not an alias for int...
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Have some cheese with that whine?
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Take your pacifier
modified 19-Jan-21 21:04pm.
|
|
|
|
|
PChar.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Friends don't let friends MSDN.
This space for rent
|
|
|
|
|
Now I feel bad, I hope I can ever make up for this again. I'm sorry to be that bad
modified 19-Jan-21 21:04pm.
|
|
|
|
|
When writing my C# code I was in the habit of using string (all lowercase) for strings declarations, etc. and String (capitalized) for method calls such as String.Empty and String.Format just as a sort of aide memoir that I was calling an object method.
As I started to create String extension methods I reviewed this habit of mine and decided this was a pointless differentiation and switched to just using string all the time. At the same time I decided that my using Int32 for methods such as Int32.TryParse and just int in declarations, etc. was also pointless and perhaps confusing to others and so switched to using int all the time instead.
It all compiles to the same IL code anyway so it was just a matter of style really.
What do you think?
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
I used to think that String referred to a class, whereas string was just a simple type. I believe at some point in the past this was the case?? However, I now just use the lower case variant for simplicity.
Get me coffee and no one gets hurt!
|
|
|
|