Git Instructions - thiagobs-webdev/helptools GitHub Wiki
Git Instructions for various use
1. Init Remote
# A) After you have created your repository on GitHub, enter your local project and follow the steps:
git initgit remote add origin your_url_gitgit pull origin master --allow-unrelated-historiesgit statusIf you have files to ignore, follow the instructions in B) and then returngit add .git commit -m "Commit Initial"git push origin master
# B) If you have files to ignore:
- Access the website: http://gitignore.io/. Create your data for gitignore.
- Create your gitignore file now in the project directory. In Linux:
nano .gitignoreand copy the data into this file