Click here to Skip to main content
15,211,638 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

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.
 
GeneralRe: Update on my Github learning curve Pin
pkfox20-Mar-20 5:20
professionalpkfox20-Mar-20 5:20 
GeneralRe: Update on my Github learning curve Pin
Richard MacCutchan20-Mar-20 5:25
mveRichard MacCutchan20-Mar-20 5:25 
GeneralRe: Update on my Github learning curve Pin
Dan Neely20-Mar-20 2:29
MemberDan Neely20-Mar-20 2:29 
GeneralRe: Update on my Github learning curve Pin
Richard MacCutchan20-Mar-20 2:54
mveRichard MacCutchan20-Mar-20 2:54 
GeneralRe: Update on my Github learning curve Pin
honey the codewitch20-Mar-20 1:00
mvahoney the codewitch20-Mar-20 1:00 
GeneralRe: Update on my Github learning curve Pin
pkfox20-Mar-20 1:03
professionalpkfox20-Mar-20 1:03 
GeneralRe: Update on my Github learning curve Pin
honey the codewitch20-Mar-20 1:18
mvahoney the codewitch20-Mar-20 1:18 
GeneralRe: Update on my Github learning curve Pin
Marc Clifton20-Mar-20 2:00
mvaMarc Clifton20-Mar-20 2:00 
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. Wink | ;)

GeneralRe: Update on my Github learning curve Pin
pkfox20-Mar-20 4:00
professionalpkfox20-Mar-20 4:00 
GeneralRe: Update on my Github learning curve Pin
MarkTJohnson20-Mar-20 2:58
professionalMarkTJohnson20-Mar-20 2:58 
GeneralRe: Update on my Github learning curve Pin
pkfox20-Mar-20 4:00
professionalpkfox20-Mar-20 4:00 
GeneralRe: Update on my Github learning curve Pin
DerekT-P20-Mar-20 11:40
professionalDerekT-P20-Mar-20 11:40 
GeneralHigh temperature, the shakes, shortness of breath ... Pin
OriginalGriff19-Mar-20 23:07
mveOriginalGriff19-Mar-20 23:07 
GeneralRe: High temperature, the shakes, shortness of breath ... Pin
Sander Rossel20-Mar-20 0:35
professionalSander Rossel20-Mar-20 0:35 
GeneralRe: High temperature, the shakes, shortness of breath ... Pin
Greg Utas20-Mar-20 1:21
professionalGreg Utas20-Mar-20 1:21 
GeneralRe: High temperature, the shakes, shortness of breath ... Pin
Member 798912220-Mar-20 1:24
MemberMember 798912220-Mar-20 1:24 
GeneralRe: High temperature, the shakes, shortness of breath ... Pin
Sander Rossel20-Mar-20 1:37
professionalSander Rossel20-Mar-20 1:37 
GeneralCCC 2020-3-20 Pin
Peter_in_278019-Mar-20 23:02
professionalPeter_in_278019-Mar-20 23:02 
GeneralRe: CCC 2020-3-20 Pin
Paddington Bear19-Mar-20 23:18
MemberPaddington Bear19-Mar-20 23:18 
GeneralRe: CCC 2020-3-20 - winner! Pin
Peter_in_278019-Mar-20 23:26
professionalPeter_in_278019-Mar-20 23:26 
GeneralRe: CCC 2020-3-20 Pin
pkfox19-Mar-20 23:48
professionalpkfox19-Mar-20 23:48 
QuestionAny Data Analytics expert here? Pin
MehreenTahir19-Mar-20 22:33
MemberMehreenTahir19-Mar-20 22:33 
AnswerRe: Any Data Analytics expert here? Pin
OriginalGriff19-Mar-20 22:43
mveOriginalGriff19-Mar-20 22:43 
AnswerRe: Any Data Analytics expert here? Pin
Mark_Wallace20-Mar-20 3:41
MemberMark_Wallace20-Mar-20 3:41 
GeneralRe: Any Data Analytics expert here? Pin
MehreenTahir20-Mar-20 4:33
MemberMehreenTahir20-Mar-20 4:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.