We can also use this to unstage files, if we type -number, so if we wanted to unstage file number 1 we would type -1: Update> -1Īnd as you can imagine we can also unstage a range of files, so if we type -range all the files on that range would be unstaged. We can even use multiple ranges, so if we want from 1 to 3 and from 5 to 7 we type 1-3, 5-7: Update> 1-3, 5-7 Now imagine that you have 7 files and you want to add them all except the 7th? Sure we could type 1,2,3,4,5,6 but imagine instead of 7 we have 16, that would be quite cumbersome, the good thing we don't need to type them all because we can use ranges,by typing 1-6 Update> 1-6 You see the * before the number? that means that the file was added. Now you just have to insert the number of the files you want to add, so if we wanted to add TODO and index.html we would type 1,2 Update> 1,2 If you press 2 then enter you will get a list of available files to be added: What now> 2 Theres more level names than levels though, i havent tried replacing higher levels but at least for the first world, 01-01 is stage 1 etc. This is great when you have files with different extensions $ git add -iġ: status 2: update 3: revert 4: add untracked (03-23-2010, 12:59 AM) KHRZ Wrote: With Wiiscrubber v1.4, the stage folder is in the root of partition 1. As some have mentioned a possible way is using git interactive staging.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |