The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
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.
(Ignore the fact that this is for TortoiseGit - the concepts are the same.)
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.
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.
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.
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.
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
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!
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.