Advertisement
gwilliams

commands to create a git repo

May 22nd, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.16 KB | None | 0 0
  1. cd /local/project/dir
  2. git init
  3. git status
  4. git add <file>
  5. git commit --all
  6. git remote add origin /remote/project/dir
  7. git push --set-upstream origin master
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement