create gitignore
# creates gitignore file
$ touch .gitignore
git init
cd /path/to/my/codebase
git init
git add .
git commit -m "my comment"
Git init
$ git init # You're done!
$ git remote add origin url_of_your_git_server # So that you can push your code somewhere.
how to generate a .gitignore
echo "function gi() { curl -L -s https://www.gitignore.io/api/$@ ;}" >> ~/.bash_profile && source ~/.bash_profile
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us