Advertisement
thief_g

Command to push project to github

Feb 19th, 2023
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. -> git init : initiates git
  2. -> git remote add origin <url for repository>
  3. -> git branch -M <branch-name>
  4. -> git commit -m "First commit"
  5. -> git config --global "user@gmail.com"
  6. -> git config --global "username"
  7. -> git push -u origin master
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement