Just wanted to share this I keep reminding myself of these Git commands again and again, so I thought I’d put them in one place. Might be handy for you too. You don’t need to know every Git command. But if you master the essentials, you can get out of almost any situation. Here are 22 Git commands every engineer should be comfortable with 👇 𝗕𝗮𝘀𝗶𝗰 𝗢𝗽𝗲𝗿𝗮𝘁𝗶𝗼𝗻𝘀 • git init – start a new repo • git clone – copy an existing repo • git status – check what’s going on • git log – view commit history 𝗪𝗼𝗿𝗸𝗶𝗻𝗴 𝘄𝗶𝘁𝗵 𝗕𝗿𝗮𝗻𝗰𝗵𝗲𝘀 • git branch – create/list branches • git checkout / git switch – move between branches • git merge – merge changes safely 𝗦𝘁𝗮𝗴𝗶𝗻𝗴 & 𝗖𝗼𝗺𝗺𝗶𝘁𝘁𝗶𝗻𝗴 • git add – stage changes • git commit – save progress • git stash – temporarily park work • git reset – undo mistakes 𝗧𝗲𝗮𝗺 𝗖𝗼𝗹𝗹𝗮𝗯𝗼𝗿𝗮𝘁𝗶𝗼𝗻 • git push – send changes • git pull – sync updates • git remote – manage remotes • git tag – mark important versions 𝗔𝗱𝘃𝗮𝗻𝗰𝗲𝗱 (𝗯𝘂𝘁 𝘀𝘂𝗽𝗲𝗿 𝘂𝘀𝗲𝗳𝘂𝗹) • git diff – see what changed • git blame – track code ownership • git bisect – find bugs faster These are the commands I rely on most while working with teams and managing real projects. If you want a clear explanation of Git vs GitHub, this post by Madhan Vadlamudi worth checking out 👇 https://lnkd.in/eTAvsz_4 Hope this helps someone today Feel free to save it or add your go-to Git command in the comments. #git #developer #programming #softwareengineering #machinelearning #ai
Vivek Chatla Thanks for the shout out Vivek, I was about to share these git commands in my next posts and here you are already one step ahead of me. Thanks for sharing these git commands in one post.😀
Vivek Chatla Quality content, I really appreciate it.