▲ 43 ▼ What were your misconceptions about Git when you first started? (programming.dev) submitted 2 years ago* by canpolat@programming.dev [M] to c/git@programming.dev 77 comments fedilink hide all child comments I used CVS and ClearCase before moving into Git, and it took me some time to adjust to the fact that the cost of branching in Git is much much less than ClearCase. And getting into the "distributed" mindset didn't happen overnight.
[–] slazer2au@lemmy.world 9 points 2 years ago (3 children) All I will need is push, pull, and commit. permalink fedilink source hideshow 3 child comments replies: [–] tatterdemalion@programming.dev 5 points 2 years ago (2 children) Sure if you never branch, which is a severely limited way of using git. permalink fedilink source parent hideshow 2 child comments replies: [–] slazer2au@lemmy.world 3 points 2 years ago Network engineer doing netdevops. branches don't work like software, always commit to main. permalink fedilink source parent [–] lysdexic@programming.dev 1 point 2 years ago* Sure if you never branch, which is a severely limited way of using git. It's quite possible to use Git without creating branches. Services like GitHub can automatically create feature branches for you as part of their ticket-management workflow. With those tools, you start to work on a ticket, you fetch the repo, and a fancy branch is already there for you to use. You also don't merge branches because that happens when you click on a button on a PR. permalink fedilink source parent
[–] tatterdemalion@programming.dev 5 points 2 years ago (2 children) Sure if you never branch, which is a severely limited way of using git. permalink fedilink source parent hideshow 2 child comments replies: [–] slazer2au@lemmy.world 3 points 2 years ago Network engineer doing netdevops. branches don't work like software, always commit to main. permalink fedilink source parent [–] lysdexic@programming.dev 1 point 2 years ago* Sure if you never branch, which is a severely limited way of using git. It's quite possible to use Git without creating branches. Services like GitHub can automatically create feature branches for you as part of their ticket-management workflow. With those tools, you start to work on a ticket, you fetch the repo, and a fancy branch is already there for you to use. You also don't merge branches because that happens when you click on a button on a PR. permalink fedilink source parent
[–] slazer2au@lemmy.world 3 points 2 years ago Network engineer doing netdevops. branches don't work like software, always commit to main. permalink fedilink source parent
[–] lysdexic@programming.dev 1 point 2 years ago* Sure if you never branch, which is a severely limited way of using git. It's quite possible to use Git without creating branches. Services like GitHub can automatically create feature branches for you as part of their ticket-management workflow. With those tools, you start to work on a ticket, you fetch the repo, and a fancy branch is already there for you to use. You also don't merge branches because that happens when you click on a button on a PR. permalink fedilink source parent