question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Git status shows .png files modified directly after clones.

See original GitHub issue

Please be sure to mention:

  • whether you are using Node or the Browser
  • how you are using it (if you are using a bundler what bundler; if you are using a <script> tag what CDN URL)

A1: I use Node. A2:

const git = require("isomorphic-git");
let repo = {fs, dir: PATH}
function gitClone(){
     git.clone({
         ...repo,
        url: REPOSITORY_URL,
        username: username,
        password: password,
        singleBranch: false,
   });
}

When I do this command. $ git status

results as follow: modified: zzz/images/icon-128.png modified: xxx/yyy/zzz-16.png modified: rrr/xxx/nee/images/su.png modified: tt/cccc/ssss/image/icon-16.png

All my images were modified, but I didn’t change any file. I feel unsure about it. Can anyone tell me that? Tnanks.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
NasonLeecommented, Aug 27, 2018

@wmhilton The problem is solved! You are a kind person. Thank a lot 😃

1reaction
wmhiltoncommented, Aug 2, 2018

Yup! I just need a couple more days to polish the code and update the docs before I merge it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Files showing as modified directly after a Git clone
When I clone this repository, then cd into the repository, git status shows several files as changed. Note: I haven't opened the repository...
Read more >
git status shows as files modified directly after clones
git status shows some of the files as modified after the clone without making any local changes. Following appears when a git status...
Read more >
Files showing as modified directly after a Git clone - Intellipaat
When I clone this repository, then cd into the repository, git status shows several files as changed. Note: I haven't opened the repository...
Read more >
Git considers PNG files as changed although there is no change
After checking out the repository, git shows me immediately that the PNG files changed. This makes it hard to work with git (e.g....
Read more >
Using Git Example - Genome Analysis Wiki
Move to the ~/code/learnGit/learningGit · Look at the current status to see nothing. · Modify README.txt · Look at the git status to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found