Master Git the practical way → https://lnkd.in/dMWfYnEF GIT COMMANDS CHEAT SHEET Initialize and Clone • git init Create a new repository • git clone repo_url Copy remote repository Stage and Commit • git add file Stage file • git add . Stage all changes • git commit -m "message" Save changes Branching • git branch List branches • git branch branch_name Create branch • git checkout branch_name Switch branch • git merge branch_name Merge branch Sync with Remote • git remote -v Show remotes • git fetch Download changes • git pull Fetch and merge • git push origin branch_name Push commits Inspect • git status Check changes • git log View history • git diff Compare changes Undo • git rm file Remove file • git reset commit_hash Move HEAD • git revert commit_hash Undo with new commit • git stash Save work temporarily Start learning Git properly Version Control with Git → https://lnkd.in/dAE92ifc Getting Started with Git and GitHub → https://lnkd.in/dyxaFpvB Learn it. Use it daily. Think in commits. #Git #GitHub #VersionControl #ProgrammingValley
Love this!
Amr Abdelkarem Helpful