Anatoliy Dovgun
-
Lesson 2.3. .gitignore
Your database password on GitHub One git add . โ and .env with your database password and API keys is in a public repository. Bots scan GitHub for…
-
Lesson 1.1. What Is VCS and Why Git
Friday, 6:40 PM You're editing functions.php on a client's live site over FTP. Save, refresh the page โ white screen. A backup? There was a functions-old.php somewhereโฆ or…
-
Lesson 1.3. Setup and Your First Repository
Who is admin@MacBook-Pro.local? That's roughly what a commit author can look like before Git is configured. GitHub won't be able to link such a commit to your profile,…
-
Lesson 2.1. The add โ commit Cycle
"fix", "fix 2", "final fix" Sound like your commit history? A month later the client asks when the price calculation broke, and the history only says "fix" and…
-
Lesson 4.3. Tracking Branches
"The current branch has no upstream branch" Every developer meets this message on their first push of a new branch. It isn't an error in your code โ…
-
Lesson 3.4. Merge Conflicts
CONFLICT is not an error You and a teammate edited the same line of class-cart.php: you added rounding, they added tax. Git can't guess whose version is right,…
-
Lesson 3.2. Creating and Switching Branches
An urgent bug in the middle of a feature You're halfway through a new cart feature โ and the client writes: "Payments are broken on the site, urgent!"…
-
Lesson 4.2. fetch, pull, push
! [rejected] on Friday evening You've finished a feature and run git push โ and Git refuses: a teammate pushed first. The tempting fix is git push –force.…
-
Lesson 4.1. Remote Repositories
Your laptop is not a backup Until now, the whole history lived on one machine. A dead SSD, a stolen laptop โ and months of commits are gone.…









