Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Create the repository on Github. go to a console and cd to the directory of the project. run:
- git add -A #adds all files in directory and sub-directories
- git commit -am "initial commit" #commits all added files
- git remote add origin https://github.com/Username/RepoName.git
- git push origin master
- When you make changes and want to push them to Github,
- git add -A #only needed if you have added or removed some files
- git commit -am "fixed bug x" #commits all added files
- git push
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement