Advertisement
Guest User

Github basics for The Odin Project

a guest
Apr 27th, 2014
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. Create the repository on Github. go to a console and cd to the directory of the project. run:
  2. git add -A #adds all files in directory and sub-directories
  3. git commit -am "initial commit" #commits all added files
  4. git remote add origin https://github.com/Username/RepoName.git
  5. git push origin master
  6. When you make changes and want to push them to Github,
  7. git add -A #only needed if you have added or removed some files
  8. git commit -am "fixed bug x" #commits all added files
  9. git push
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement