Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- given: a github repo (denote its url as $repo)
- a folder with files ($project)
- back it up somewhere (there's 0% chance of anything happening but stranger things have happened)
- > cd $project
- > git init
- > git remote add github "$repo"
- add whatever files you want with `git add {}`, you could do something like `git add *`
- > git commit -m "initial?"
- > git push github master
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement