How To Use GitHub
How To Use GitHub
How To Use GitHub
Adding To A Repository
Once you have made changes you can go to the git gui and follow the same instructions on How To Make A Repository above Or just type git add . Then git commit -m "your commit message" Then git pull to make sure you have the latest version to push to Then git push
File patterns are also acceptable, e.g. *.tmp for any le that ends in .tmp. To make a .gitignore just type in the command line touch .gitignore Open this le in a text editor by selecting open and in Finder tick Show hidden les In the .gitignore le write the name of the le or folder you want ignore e.g. data to ignore the data folder, tmp to ignore tmp folder and les called tmp in any folder You can use * here also. It will replace any sequence of characters except / The .gitignore le is checked in as usual
WARNING
DO NOT COMMIT VERY LARGE FILES INTO GIT. These will massively increase the size of the repository and make all git actions slow. So watch out for massive data les in your project!