git pull is two commands in disguise. It starts with a git fetch, then immediately merges into your current branch. Git Tip #13, new tips every Thursday. #git #gitignore #github #developer #devtips
More Relevant Posts
-
I used : git cherry-pick <commit-hash> to copy commit to other branch It helps me to copy many commits. #git #developer #github
To view or add a comment, sign in
-
Git Tip: git stash is your friend Need to switch branches but not ready to commit? bash # Save work temporarily git stash # Switch branches, do your thing # Come back and restore git stash pop No more half-finished commits! #Git #GitHub #VersionControl
To view or add a comment, sign in
-
git tip 12: why .gitignore isn't tracking your file The file was probably already committed before you added it. gitignore only blocks files git has never seen. Watch the video for a fix Fix: git rm --cached filename, then commit. One command, done. Git Tip #12, new tips every Thursday. #git #gitignore #github #developer #devtips
To view or add a comment, sign in
-
You don't need to memorise 50 Git commands. These 7 will cover 90% of everything you do as a developer most of the time. init · add · commit · push · pull · branch · merge That's it. Start there. Full roadmap at → www.codingelf.academy #git #softwaredeveloper #techcareer #codingjourney #learningtocode
To view or add a comment, sign in
-
-
💡 Git Tip That Saved My Day Ever made a commit and immediately realized it was wrong? Here's your escape: git reset --soft HEAD~1 This command: ✓ Undoes the last commit ✓ Keeps your changes in staging area ✓ Lets you commit again with right message Other useful commands: git reset --hard HEAD~1 (undo + remove changes) git revert HEAD (safe undo for pushed commits) git cherry-pick (copy specific commits) Real story: Earlier today, I committed "Fix bug" but should've written "Fix API authentication bug". Used git reset and fixed it. Problem solved! 😅 What's your most-used Git command? Share in comments! #Git #GitHub #WebDevelopment #CodingTips #Developer
To view or add a comment, sign in
-
Git 2.54 just landed with some great updates! I'm really looking forward to git history reword and git history split for simpler, targeted commit cleanups without the rebase -i dance. Plus, config-based hooks mean easier sharing of linters and pre-commit checks. Developer workflow just got a little smoother! ✨ #Git #DevTools
To view or add a comment, sign in
-
Day 12 | Tip The 4 Git commands you'll use every single day When I started with Git, the number of commands felt overwhelming. Then I realised — 90% of daily Git work uses just 4 commands: 1. git status — see what changed 2. git add . — stage your changes 3. git commit -m '' — save a snapshot 4. git push — upload to GitHub Master these 4 first. Everything else comes later. #Git #GitHub #DevTips #LearningToCode #100DaysOfCode
To view or add a comment, sign in
-
-
Day 11 | Concept What is Git and why every developer needs it Before I learned Git, I used to save files like this: - calculator.cpp - calculator_final.cpp - calculator_final2.cpp - calculator_ACTUALLY_final.cpp Sound familiar? Git solves this. It tracks every change you make, lets you go back to any version, and lets multiple people work on the same project without chaos. If you write code and don't use Git — start today. Your future self will thank you. #Git #GitHub #LearningToCode #DevTips #VersionControl
To view or add a comment, sign in
-
-
🔥Git & GitHub Notes - The Skill Every Developer Must Know You can build amazing projects.. But if you don't know how to manage your code, collaborate with others, or track changes properly... You're missing a core developer skill. That's where Git & GitHub come in. I'm sharing Git & GitHub handwritten notes that make version control simple and easy to understand. Because in real-world development: Code without Git = Risk Code with Git = Control #git #github #gitfordeveloper #githubcloud GitHub #developer
To view or add a comment, sign in
-
🧠 10 Git commands every developer MUST know. I've seen senior devs struggle with Git. Don't be that person. Here's your cheat sheet: 𝟭. 𝗴𝗶𝘁 𝗶𝗻𝗶𝘁 → Start a new repository 𝟮. 𝗴𝗶𝘁 𝗰𝗹𝗼𝗻𝗲 → Copy a remote repo locally 𝟯. 𝗴𝗶𝘁 𝗯𝗿𝗮𝗻𝗰𝗵 → Create/list branches 𝟰. 𝗴𝗶𝘁 𝗰𝗵𝗲𝗰𝗸𝗼𝘂𝘁 → Switch between branches 𝟱. 𝗴𝗶𝘁 𝗮𝗱𝗱 . → Stage all changes 𝟲. 𝗴𝗶𝘁 𝗰𝗼𝗺𝗺𝗶𝘁 -𝗺 → Save staged changes 𝟳. 𝗴𝗶𝘁 𝗽𝘂𝘀𝗵 → Upload commits to remote 𝟴. 𝗴𝗶𝘁 𝗽𝘂𝗹𝗹 → Fetch + merge remote changes 𝟵. 𝗴𝗶𝘁 𝘀𝘁𝗮𝘀𝗵 → Temporarily save uncommitted work 𝟭𝟬. 𝗴𝗶𝘁 𝗹𝗼𝗴 → View commit history 💡 Pro tip: Learn 'git rebase' and 'git cherry-pick' next. They'll make you 10x more productive in team environments. Save this for later. You'll need it. 🔖 #Git #GitHub #Programming #SoftwareDevelopment #CodingTips #Developer #TechTips
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development
🙏Respect ...🥸Assistent