I am novice in dealing with git, but I have a repository that contains a file named \'test\'. I want to check if that specific file has changed. Is there anyway to do that?
Git doesn't provide methods to query history of a remote repository. Git commands are intended to be run against a local repository, so you would have to clone
first (fetch
would be cheaper if you've cloned once before). That said, there are some ways to get around this limitation: