Can you interact with the index/staging area with TortoiseGit?

前端 未结 4 1458
情歌与酒
情歌与酒 2020-12-03 09:36

I\'ve been tasked with giving a presentation on Git to my colleagues, who are almost entirely Windows users who are used to using TortoiseCVS. I\'ve been using Git for about

4条回答
  •  执念已碎
    2020-12-03 10:15

    Recently hit the need of using git add to apply stash when there were changes to the same files and found that I can use it with a trick: have (create) a new file in the repo (.txt for example), open commit window that will show changed files along with the new one. Select all changed files and the new file. Right click on the new file and you will have Add command there. It will apply git add to all selected files. After that you can just Revert the new file. All of that allowed me to apply stash over modified files.

提交回复
热议问题