O slideshow foi denunciado.
Seu SlideShare está sendo baixado. ×

[@NaukriEngineering] Git Basic Commands and Hacks

Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Carregando em…3
×

Confira estes a seguir

1 de 12 Anúncio

[@NaukriEngineering] Git Basic Commands and Hacks

Baixar para ler offline

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.

Anúncio
Anúncio

Mais Conteúdo rRelacionado

Quem viu também gostou (20)

Anúncio

Mais de Naukri.com (16)

Mais recentes (20)

Anúncio

[@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

×