Open layris3 opened 4 years ago
if you staged 2 files but you wanna have 2 commits. run the command git reset HEAD <filename>,now the file you don't want to stage is unstaged.
git reset HEAD <filename>,
if you staged 2 files but you wanna have 2 commits. run the command
git reset HEAD <filename>,
now the file you don't want to stage is unstaged.