|
Read https://git-scm.com/ . Then read "A successful Git branching model" at http://nvie.com/posts/a-successful-git-branching-model/ to learn how to do branching the hard way. Then learn literally any other model. At least half the popular Git branching models are a reaction against that one. Then form oddly strong opinions on rebase v. merge, and have an argument on "what does a commit represent?" Boom. You're now the Git wizard in the company.
|
# ¿ Jul 17, 2017 18:50 |
|
|
# ¿ May 14, 2024 02:33 |
|
chippy posted:I use GitFlow. What's a better one? I'm about to start a new project, could be good to know. There isn't "better", just "appropriate for your needs". Since you already have experience, I say you should try building a branching strategy that works for your testing and deployment requirements. It's sounds dry, but it's actually kinda fun. That said, GitHubFlow is nice and simple.
|
# ¿ Jul 19, 2017 13:38 |
|
Read Pro Git at https://git-scm.com/book/en/v2 , specifically the last chapter, Git Internals. Read that first, then go back and learn the weird Git commands.
|
# ¿ Nov 10, 2017 18:43 |
|
James Baud posted:A bit of looking around has also found https://rtyley.github.io/bfg-repo-cleaner/ I’ve used this before, and did the job perfectly.
|
# ¿ Dec 22, 2017 15:36 |
|
.gitignore file with something like: * !file-to-track !another-file-to-track
|
# ¿ Feb 19, 2019 23:56 |
|
Hippie Hedgehog posted:In case anyone is still able to edit the OP, I'm surprised the Pro Git book is not the first resource linked for Git. It serves very well as a progressive beginners' guide to Git. Then struggle with git in the real world for a little while, then read chapter 10.
|
# ¿ Dec 17, 2019 04:36 |
|
You can make some noise now and have some conversations with your boss about this. Then wait. Then if something goes wrong that a nicer process would have solved you’ll be well positioned to make the change.
|
# ¿ Jun 5, 2023 13:26 |
|
|
# ¿ May 14, 2024 02:33 |
|
That’s weird, I always thought SVN was an old and established piece of software by the time git appeared, but you’re right.
|
# ¿ Oct 12, 2023 00:41 |