简体   繁体   中英

git: send unmodified file in a commit and in a pull request

I'am working on a branch named dev but when I do my commit I found files which I didn't modified. can any one tell me what is the problem or gives me some advices where can I search a solution for my problem. Thank you in advance.

Can you try doing the following after you have cloned the repo?

  • git fetch origin
  • git reset --hard origin/master
  • checkout to a new branch git checkout -b dev
  • change files if required.
  • git add the changes files.
  • git commit
  • git push dev

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM