-
Notifications
You must be signed in to change notification settings - Fork 36
Git Helpful Notes
Notes on Git started by Fred K. Beckhusen (aka Ferd Frederix):
For anyone who wants to learn more about git: http://rogerdudler.github.io/git-guide/
I also highly recommend the graphical version, SourceTree for Windows and Mac users. https://www.sourcetreeapp.com/
All of us should think about the Github Wiki section, too. Google+ is great for discussions, but important things get lost in it quickly.
Some tips: If you need a blank folder to reserve a spot, add a file named ".keep" to it as Git will not save blank folders. If content is in the folder, the .keep can be deleted.
If you are doing multiple things and don't want some work to be committed yet, you can make a "working folder" in the document tree and just add the path add to the .gitignore, and git will ignore it. When you are ready, remove the folder name from the .gitgnore, and you can commit and push your release. If you look in the gitignore, you will see some of my exclusions.
Note that renaming a directory has the effect of deleting the contents of that directory and adding back in the new named directory as a copy. This can look like very many lines added and deleted and lead to the new copy changing the date.
Any of the 'core devs' have full repo rights, but if you feel uncomfortable about adding a file, or know of others who have items are want to contribute accessories, have them do a pull request so one of us can look at it and pull it in.