Photo by Roman Synkevych on Unsplash
  1. Add a .gitgnore file [The files and directories mentioned in this file will not be pushed to the remote]
touch .gitignore
git init
git add .
git commit -m "Initial commit"
git remote add origin youruser@yourserver.com:/path/to/my_project.git
git push origin master
git push origin HEAD:<your_branch_name>
  1. Pinterest
  2. LinkedIn

Allwin Raju

Python Developer | Django Developer | Python Enthusiast

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store