简体   繁体   中英

Android Studio - Git Repo - Push Commits Window - remove files from push

I am working with Android Studio 1.5 in Ubuntu 15 .

My problem is that I see a lot of files in the Push Commits window under VCS -> Git -> Push... , which I do not want to push into the repo.


How can I remove the files from that window, so the click on push in the Push Commits window wont be pushing them?

(Where do I need to click?)


EDIT:
I tried VCS -> Git -> Revert , but the window is empty.

You can revert the commits you don't want to push. But push will send all the local commits to remote origin.

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