|
Hi, I'm not in a team either but I do use several machines - your method should work fine for me - thanks for the mini tutorial too it got me up and running
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
cool! I'm glad it worked for you. It was off the top of my head so I wasn't sure if maybe i forgot a step or something, but then you got it working so i figured no harm, no foul.
I like to keep it simple with github.
The only wrinkles you might want to know about now:
A) if you create a public repo, make a README over at github, then sync from VS to pull it into your local project copy.
B) if you build your binaries to a custom folder they'll be uploaded to github as it only ignores the bin and obj folders in the default locations last i checked. You might consider this a feature, or a bug depending on how you feel about it.
Real programmers use butterflies
|
|
|
|
|
A very short and understandable description of the difference between pull, fetch, and sync:
TortoiseGit: What's the difference between "Git Sync", "Fetch" and "Pull"? - Stack Overflow[^]
(Ignore the fact that this is for TortoiseGit - the concepts are the same.)
Quote: Git pull is a git fetch followed by git merge
Git fetch fetches info about remote repositories
Git sync does everything in one command meaning pull and push
The link above includes "read more" links for further reading.
And as others have said, cloning is used only when the repo doesn't already exist on the machine.
I prefer pull rather than sync because I want to push in a controlled manner -- only when my code compiles and is tested. There are many times when I have my code with compiler errors or it's in a "work in progress" state, so I'm not ready to push it up, as this will probably break other people's stuff. However, sometimes I do need to pull down other people's stuff while I'm working on my own.
If I want other people to see my "work in progress", I'll create a local branch for my changes, then push that branch. That way, I'm not messing up the master and other branches (like qa, test, etc.)
Similarly, if someone has a special branch that I want to look at, I'll do a fetch to see that branch in the list of repo branches, then do a "check out" of that branch to my local machine.
That was probably TMI - I got carried away.
|
|
|
|
|
Thanks Marc
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
One thing that took me a while to understand about git.
It treats the ENTIRE repository as image, for lack of a better word, so if you have a file in your current branch that does not exist in a different branch, and you switch branches that file will vanish. Worry not! It is not gone because if you switch back to the original branch the file will reappear.
Assuming of course you have committed the files.
|
|
|
|
|
Thanks any information helps
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
I missed your earlier Github posts (I assume) but am in a similar place. Normally working on my own, I'm now working on a project jointly (and remotely) with another development house. In the past I've always used SVN (With TortoiseSVN and a remote repository) which has been simple and met my purposes. My associates now want us to use Git to better manage concurrent developments, and am having probs getting my head around concepts (partly as there's so much additional terminology). Have setup a remote repo and done an initial push, but am a way behind you on the learning curve. Very re-assuring to know I'm not the only one, though! This thread looks like the answers will be very useful.
|
|
|
|
|
... We know why...[^] (SFW)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Also typical signs of talking to cute girls... Or so I've heard
|
|
|
|
|
I was certain that's (uh, more or less) what he was getting at, but no!
|
|
|
|
|
Sander Rossel wrote: Also typical signs of talking to cute girls... Or so I've heard No personal experience?
|
|
|
|
|
Like I'd know what it feels like to talk to girls
Seriously though, I can get like that.
Also when talking or performing for groups, doing important sales calls or having bad news conversations.
I've found that beta-blockers work great
Avoiding all social contact works even better and I've heard it's all the rage nowadays
Never for exams though, so I've got that going, which is nice.
|
|
|
|
|
Flesh eating mutant causes panic. (11)
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Coronavirus
It goes without saying
|
|
|
|
|
Yep. I rather liked the anagram of CARNIVOROUS / CORONAVIRUS.
All yours for Monday.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Good clue but poor taste
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
Anyone who have worked with text analytics and know how to get tf-idf when you're given data represented in sparse matrix (numerically) instead of actual data?
I'm stuck with a problem and would appreciate expert advise or any help
|
|
|
|
|
Try here: Ask a Question[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
... And the message is back again.
Well, I've already replied once, and having to repeat yourself isn't fun.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
This was not a programming problem rather a research approach that I wanted to discuss. Otherwise I would have asked in the other section.
Mark_Wallace wrote: Well, I've already replied once, and having to repeat yourself isn't fun.
I don't remember you ever replying to any of my posts neither did I asked this question before. If it's that's annoying to you please consider not replying at all.
|
|
|
|
|
I've already found the solution but unable to delete this post now. Thanks for bearing
|
|
|
|
|
I was just about to reply to a message with "It sounds like you're looking for BM25F, but if you work for google, just stay at home and do no work evil", and I get a message saying the message (the first one, not my one or the one I just got) is not available.
It must be that fast because of SSDs and the new "commandeer your graphic chip's processing power" stuff.
I'm having trouble recalling which buzzbollocks ideas are most popular, at the moment, so feel free to point out the ones I've missed.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Something tells me most geeks aren't going to have a problem: Stay. At. Home. | CommitStrip[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I hear that almost all supermarkets are out of mothers' basements de-stinkifiers.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Mark_Wallace wrote: mothers' basements
Hey! What about dad's basement? I'm an equal opportunity nerd! Besides that, I have had my own basement for a while and going home to mom, or getting any substitute, would be the worst fate I could think of.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|