- Create a repository in GitHub
- Cd to the working directory folder you wanna commit eg Story
- git log : to check for previous commits
[Push commit to GitHub]
- git remote add origin [URL git directory] : create a remote
- git push -u origin master: push our local repository to remote repository
[if got edit files]
- git pull
- git push -u origin master: push our local repository to remote repository
No comments:
Post a Comment