GIT Questions et reponses d'entretien
Question 21. What is the purpose of 'git remote'?
'git remote' is used to manage remote repositories. It allows you to add, remove, or view the configured remote repositories.
Question 22. Explain the concept of Git rebase interactive.
Git rebase interactive allows you to selectively edit, reorder, or squash commits during the rebase process.
Question 23. How do you create a tag in Git?
You can use 'git tag' followed by the tag name to create a tag at the current commit.
Question 24. What is the purpose of the '.gitattributes' file?
The '.gitattributes' file is used to define attributes and merge strategies for specific files in a Git repository.
Question 25. Explain the difference between 'git push' and 'git pull' commands.
'git push' is used to upload local changes to a remote repository, while 'git pull' is used to fetch and merge changes from a remote repository.
Les plus utiles selon les utilisateurs :