Ce diaporama a bien été signalé.
Le téléchargement de votre SlideShare est en cours. ×

[@NaukriEngineering] Git Basic Commands and Hacks

Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Chargement dans…3
×

Consultez-les par la suite

1 sur 12 Publicité

[@NaukriEngineering] Git Basic Commands and Hacks

Télécharger pour lire hors ligne

This presentation is not to explain why we use Git and the benefits of using Git over SVN.
But, it is about how to use the simplest and basic functionalities of Git. And small hacks to make our lives easy.

This presentation is not to explain why we use Git and the benefits of using Git over SVN.
But, it is about how to use the simplest and basic functionalities of Git. And small hacks to make our lives easy.

Publicité
Publicité

Plus De Contenu Connexe

Les utilisateurs ont également aimé (20)

Publicité

Plus par Naukri.com (16)

Plus récents (20)

Publicité

[@NaukriEngineering] Git Basic Commands and Hacks

  1. 1. GIT commands Rashi Atry (Naukri Quality)
  2. 2. WHAT IS GIT?
  3. 3. How do You use Git? via Tools/ extensions OR command line?
  4. 4. Basic Commands  git clone <.git url>  git checkout  git status  git branch  git add  git pull  git commit  git push  git stash
  5. 5. git checkout  git checkout  git checkout <branchName>  git checkout –b <newBranchName>  git checkout <fileName>
  6. 6. git add  git add  git add –p  git add –p <fileName>
  7. 7. git stash  git stash  git stash save  git stash list  git stash apply  git stash drop  git stash -p
  8. 8. git reset  git reset - -hard HEAD  git reset - - soft <any point hash>
  9. 9. More Commands  git commit –m <commitMessage>  git branch –m <newBranchName>  git push origin <nameOfBranch>
  10. 10. Git Shortcuts  git alias  git config --global alias.ci commit  git config --global alias.co checkout  git config --global alias.br branch  git config --global alias.st status
  11. 11. Tip and Tricks  Pull frequently  Commit early and often  Make logical commit messages  Write understandable commit messages  Push when your changes are tested  Branch freely  Merge carefully  Stash before switching branches  Stash with meaningful messages
  12. 12. Thank you

×