31
.gitignore Isn’t the Only Way To Ignore Files in Git
(nelson.cloud)
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Resources
Rules
Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.
I got a bunch of rules in the exclude file for my own personal trash files in the repo. I’m not a happy man unless I can do
git commit -amfreely.git commit -amis for weirdos.You should do a
git add .. Then do agit status. Then dogit resetbecause.meant that all the stuff you didn't want to commit also is now in the staging area, then do a manualgit add <dst_path>for your paths. Then do agit add .by accident, and repeat.Not weird. Whenever I use the
-aflag on accident I just dogit reset HEAD~1, and then dogit commit -amon accident again.