Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GIT GUI (Windows) - move from Unstaged to Staged

I have a project with 10.000 files, which I want to push to repository. But before push I have to move it from Unstaged list to Staged. Stupid problem that I don't see any button like "Move all", it does not understand drag'n'drop, I can move files only one-by-one? Why and how to solve this strange problem?

like image 389
Oleg Sh Avatar asked Jan 15 '23 20:01

Oleg Sh


1 Answers

In git-gui, there are 2 methods to move all the files from Unstaged to Staged.

1) Press Ctrl+I which will move all the Unstaged files to staged files

2) Click "Stage Changed" button in the bottom panel above "Signoff" and "Commit"

enter image description here

like image 158
senthilraja Avatar answered Jan 18 '23 09:01

senthilraja