- To download the repository to your local host
- To commit and upload the source back to repository
- To update your local repository with the master
- List config settings
- Rename a file
$ git clone https://github.com/rtomaszewski/#repo.git#
Or you can upload a public SSH key to your github account as described here https://help.github.com/articles/generating-ssh-keys and then clone using SSH method.
$ git clone git@github.com:rtomaszewski/#repo.git#
$ cd #repo# $ git add new-file.py $ git commit new-file.py -m 'init' $ git push origin master
$ cd #repo# $ git pull $ git pull origin master
$ cd #repo# $ git config -l
$ cd #repo# $ git mv README README.md $ git commit -m "renamed" $ git push origin master
No comments:
Post a Comment