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 init
git remote add origin your_url_git
git pull origin master --allow-unrelated-histories
git status
If 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 .gitignore
and copy the data into this file