Click here to Skip to main content
15,913,610 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: Git! Pin
Nagy Vilmos1-Apr-14 2:43
professionalNagy Vilmos1-Apr-14 2:43 
GeneralRe: Git! Pin
Johnny J.1-Apr-14 2:47
professionalJohnny J.1-Apr-14 2:47 
GeneralRe: Git! Pin
Kornfeld Eliyahu Peter1-Apr-14 2:50
professionalKornfeld Eliyahu Peter1-Apr-14 2:50 
GeneralRe: Git! Pin
KP Lee2-Apr-14 15:46
KP Lee2-Apr-14 15:46 
GeneralRe: Git! Pin
devenv.exe1-Apr-14 2:46
professionaldevenv.exe1-Apr-14 2:46 
GeneralRe: Git! Pin
Brisingr Aerowing1-Apr-14 2:47
professionalBrisingr Aerowing1-Apr-14 2:47 
GeneralRe: Git! Pin
KP Lee2-Apr-14 15:53
KP Lee2-Apr-14 15:53 
GeneralRe: Git! Pin
Marc Clifton1-Apr-14 3:01
mvaMarc Clifton1-Apr-14 3:01 
Nagy Vilmos wrote:
Oh Jeez, how do I hate thee? Let me count the ways.


I completely agree.

"git branch" will show all your local repo branches, the starred one is your current one.

Find someone that's an expert (or use your google fu, which is what I end up doing.) "git reset --hard" quickly became my most common command after fubar'ing my local branches more than I can tell you.

Are you using a GUI? There's a couple good ones out there, but even they lack. Just yesterday I had to create a new branch from a specific SHA point on an existing branch. My GUI does not support that action so I had to do it from the command line (after looking up how.) Dead | X|

I'm beginning to see the "power" of it, creating local branches and doing your work locally (and disconnected even) and having it track my changes. The problem is, merging of branches sucks. Git will often report a merge conflict when there is none (other than perhaps whitespaces replaced with tabs or some such foolery) and often enough screwing up the merge, which you discover later.

And I absolutely LOATHE the <<<< ==== >>>>> markup - I never understand which is mine and which is theirs, and the word "HEAD" or "MASTER" doesn't help, I have no idea who the master head is. Well, at least with regards to Git! Laugh | :laugh:

Marc
GeneralRe: Git! Pin
MarkTJohnson1-Apr-14 3:08
professionalMarkTJohnson1-Apr-14 3:08 
GeneralRe: Git! Pin
Johnny J.1-Apr-14 3:14
professionalJohnny J.1-Apr-14 3:14 
GeneralRe: Git! PinPopular
Marc Clifton1-Apr-14 3:15
mvaMarc Clifton1-Apr-14 3:15 
GeneralRe: Git! Pin
MarkTJohnson1-Apr-14 3:24
professionalMarkTJohnson1-Apr-14 3:24 
GeneralRe: Git! Pin
Marc Clifton1-Apr-14 3:51
mvaMarc Clifton1-Apr-14 3:51 
GeneralRe: Git! Pin
MikeTheFid2-Apr-14 4:05
MikeTheFid2-Apr-14 4:05 
GeneralRe: Git! Pin
Ashish Tyagi 405-Apr-14 22:33
Ashish Tyagi 405-Apr-14 22:33 
GeneralRe: Git! Pin
jschell2-Apr-14 7:44
jschell2-Apr-14 7:44 
GeneralRe: Git! Pin
PIEBALDconsult1-Apr-14 3:28
mvePIEBALDconsult1-Apr-14 3:28 
GeneralRe: Git! Pin
Marc Clifton1-Apr-14 3:52
mvaMarc Clifton1-Apr-14 3:52 
GeneralRe: Git! Pin
jschell2-Apr-14 7:49
jschell2-Apr-14 7:49 
GeneralRe: Git! Pin
jschell2-Apr-14 7:47
jschell2-Apr-14 7:47 
GeneralRe: Git! Pin
Rage1-Apr-14 5:45
professionalRage1-Apr-14 5:45 
GeneralRe: Git! Pin
jschell2-Apr-14 7:50
jschell2-Apr-14 7:50 
GeneralRe: Git! Pin
PIEBALDconsult1-Apr-14 13:41
mvePIEBALDconsult1-Apr-14 13:41 
GeneralRe: Git! Pin
MarkTJohnson1-Apr-14 3:04
professionalMarkTJohnson1-Apr-14 3:04 
GeneralRe: Git! Pin
MehGerbil1-Apr-14 3:18
MehGerbil1-Apr-14 3:18 

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.