Git Commands for DevOps Engineers and AI Developers

🚀 My Actual Daily Git Command Sheet (AI / DevOps Engineer Edition) After working on GenAI systems, codebases, OpenSearch setups, and cloud-native services, I’ve realized something: 👉 I don’t use “many” Git commands — I use the right ones, repeatedly. git clone <repo_url> git remote -v git checkout <branch_name> git pull origin develop git checkout -b feature/<feature-name> git status git add <file> git add -A git commit -m "Comments" git fetch origin git rebase origin/develop git rebase --continue git restore <file> git branch -a git reset --soft HEAD~1 git stash git stash pop git stash apply git log git push origin feature/<feature-name> git tag v1.x.x git push origin --tags git cherry-pick <commit> git revert <commit> # If pushed committed changes git config --global user.name git config --global user.email git remote set-url origin <new-repo-url> git merge develop --------------------------------- git branch -m new-branch-name git push origin new-branch-name git push --set-upstream origin new-branch-name git push origin --delete feature/login git branch -vv #gitlife

  • icon

To view or add a comment, sign in

Explore content categories