Click here to Skip to main content
15,887,477 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 Time again - what am I missing? Pin
charlieg14-Feb-24 11:56
charlieg14-Feb-24 11:56 
AnswerRe: GIT Time again - what am I missing? Pin
Jeremy Falcon13-Feb-24 2:58
professionalJeremy Falcon13-Feb-24 2:58 
GeneralRe: GIT Time again - what am I missing? Pin
charlieg13-Feb-24 3:50
charlieg13-Feb-24 3:50 
GeneralRe: GIT Time again - what am I missing? Pin
Jeremy Falcon13-Feb-24 5:02
professionalJeremy Falcon13-Feb-24 5:02 
GeneralRe: GIT Time again - what am I missing? Pin
charlieg13-Feb-24 5:24
charlieg13-Feb-24 5:24 
AnswerRe: GIT Time again - what am I missing? Pin
TNCaver13-Feb-24 3:05
TNCaver13-Feb-24 3:05 
AnswerRe: GIT Time again - what am I missing? Pin
HobbyProggy13-Feb-24 3:16
professionalHobbyProggy13-Feb-24 3:16 
AnswerRe: GIT Time again - what am I missing? Pin
den2k8813-Feb-24 3:26
professionalden2k8813-Feb-24 3:26 
Branching is much easier, it does not create any additional directory since it is a pointer to a specific commit. The way branches are managed make following the timeline of modifications a lot easier for merging purposes.

We used it for an ECU with a main codeline + different features to be added + different parts of the code to be ported to another OS + different stages of development for every customer. Managing that amount of branches with GIT is easier. EG tyipical workflow in GIT was:

* branch from current main or current stable (first thing I do before touching the code)
* get a feature to develop from Jira / Polarion / Redmine
* Start developing the feature
* [...] Several commits and pushes
* Eventual side-branches for different potential solutions / potentially breaking code changes
* Commit "working solution"
* Pull request to Integration
* Branch from current main or current stable
* Get another feature to develop
* Repeat as necessary.

Integration will then merge all open branches in the new main or stable line and stop + reject PR if some branch causes failures to compile, otherwise regression tests and validations are peformed and main or stable is advanced. Now everything shall start from main again.

For one developer it's useless, for 4 developers in the same office it's overkill, for 300 developers across the world it's sanity. Nothing ever gets removed from GIT, ever (unless some idiot with permissions forces it) so a stable, working commit is always reachable.

One thing I loved about git was that it doesn't need a server, any file-system works, so when I worked for B***h I actually cloned the repo on my network, worked locally from my PC to the local repo then send only the vetted commits to the company repo. It allowed me a lot of flexibility, mostly that of using my own computer to edit the code while I would have been mandated to use only their horrible workstation with only a handful of useless programs (writing code in Keil is painful).

In my current company we use SVN, we are literally 5 developers in a office and SVN is also used as a shared storage for documentation and stuff that should not be there. Many systems in the company refer to that SVN so we won't change - except that we can only have a total of 20 users otherwise we'd have to change license for the SVN server and we actually are at capacity since there are (stupidly) other people accessing that repository, and we can't have more than one repo due to licensing.

Any serious company still uses some form of server for GIT anyway for permission management (you don't want to give rebasing permissions to any developer unless you want a broken repo).
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

The shortest horror story: On Error Resume Next

GeneralRe: GIT Time again - what am I missing? Pin
charlieg13-Feb-24 3:55
charlieg13-Feb-24 3:55 
AnswerRe: GIT Time again - what am I missing? Pin
charlieg13-Feb-24 3:59
charlieg13-Feb-24 3:59 
GeneralRe: GIT Time again - what am I missing? Pin
Jeremy Falcon13-Feb-24 6:02
professionalJeremy Falcon13-Feb-24 6:02 
GeneralRe: GIT Time again - what am I missing? Pin
Jeremy Falcon13-Feb-24 6:07
professionalJeremy Falcon13-Feb-24 6:07 
GeneralRe: GIT Time again - what am I missing? Pin
Gerry Schmitz13-Feb-24 13:58
mveGerry Schmitz13-Feb-24 13:58 
GeneralRe: GIT Time again - what am I missing? Pin
S.B.13-Feb-24 19:44
S.B.13-Feb-24 19:44 
GeneralRe: GIT Time again - what am I missing? Pin
charlieg14-Feb-24 11:17
charlieg14-Feb-24 11:17 
AnswerRe: GIT Time again - what am I missing? Pin
Rick York13-Feb-24 4:39
mveRick York13-Feb-24 4:39 
GeneralRe: GIT Time again - what am I missing? Pin
charlieg13-Feb-24 5:30
charlieg13-Feb-24 5:30 
GeneralRe: GIT Time again - what am I missing? Pin
Jeremy Falcon13-Feb-24 6:23
professionalJeremy Falcon13-Feb-24 6:23 
GeneralRe: GIT Time again - what am I missing? Pin
Maximilien13-Feb-24 7:41
Maximilien13-Feb-24 7:41 
GeneralRe: GIT Time again - what am I missing? Pin
charlieg13-Feb-24 9:48
charlieg13-Feb-24 9:48 
GeneralRe: GIT Time again - what am I missing? Pin
Stuart Dootson14-Feb-24 0:59
professionalStuart Dootson14-Feb-24 0:59 
AnswerRe: GIT Time again - what am I missing? Pin
jschell13-Feb-24 5:34
jschell13-Feb-24 5:34 
GeneralRe: GIT Time again - what am I missing? Pin
englebart13-Feb-24 6:16
professionalenglebart13-Feb-24 6:16 
GeneralRe: GIT Time again - what am I missing? Pin
charlieg13-Feb-24 6:22
charlieg13-Feb-24 6:22 
GeneralRe: GIT Time again - what am I missing? Pin
jschell14-Feb-24 5:49
jschell14-Feb-24 5:49 

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.