How do changes in .gitignore affect the repository's remote history?

  • They don't affect the remote history
  • They rewrite the remote history
  • They create a new branch
  • They create a merge commit
Changes in .gitignore do not affect the remote history directly. The .gitignore file specifies which files and directories to exclude from version control but doesn't impact the commit history itself.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *