|
Thanks for that - it hasn't been approved yet though
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
Are you not able to view it then?
|
|
|
|
|
No it says something like awaiting approval
Edit
It's available now thanks Richard
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
I assume that you don't have enough rep points to see articles on the approval queue.
|
|
|
|
|
Lets make sure pkfox has the basics down solid before going into advanced features with elevated footgun potential.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
He does not have to read it.
|
|
|
|
|
I'm not 100% sure what you're asking.
Keep in mind my use case is very simple, as I'm not working with a team - others here might have better techniques:
The only time I clone is pulling the code for a new machine. Otherwise, I just sync before I start coding.
Sync will initiate any outstanding pulls. in general i've had better luck using sync than issuing push or pull requests.
Real programmers use butterflies
|
|
|
|
|
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!
|
|
|
|