News

How to undo a staged Git file The proper way to undo the git add command is to use git restore. This will unstage your files, essentially undoing any previously issued git add commands.
The Git index, along with the need to use the "git add" command before performing a commit, is often a source of confusion for beginners. These "git add" examples will make things clear.
Jack Wallen shows how to use the .gitconfig file for global git configurations and a more efficient developer setup.
Note that the .zip file does not come with the .git directory in it (at least from BitBucket -- I don't know how github or gitlab behave in this respect) so there's no actual repo behind it; just ...