this post was submitted on 26 May 2024
43 points (92.2% liked)

Git

2938 readers
1 users here now

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Resources

Rules

  1. Follow programming.dev rules
  2. Be excellent to each other, no hostility towards users for any reason
  3. No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.

Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.

founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 7 months ago (1 children)

All I will need is push, pull, and commit.

[–] tatterdemalion 5 points 7 months ago (2 children)

Sure if you never branch, which is a severely limited way of using git.

[–] [email protected] 3 points 7 months ago

Network engineer doing netdevops. branches don't work like software, always commit to main.

[–] lysdexic 1 points 6 months ago* (last edited 6 months 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.