Advertisement
thezer0th

instructions

Oct 14th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. given: a github repo (denote its url as $repo)
  2. a folder with files ($project)
  3.  
  4. back it up somewhere (there's 0% chance of anything happening but stranger things have happened)
  5. > cd $project
  6. > git init
  7. > git remote add github "$repo"
  8. add whatever files you want with `git add {}`, you could do something like `git add *`
  9. > git commit -m "initial?"
  10. > git push github master
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement