FlexSEA Wiki

A WEARABLE ROBOTICS TOOLKIT

User Tools

Site Tools


git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
git [2018/04/02 19:48]
jfduval
git [2018/04/02 19:55] (current)
jfduval
Line 6: Line 6:
     * Tutorial by github: https://​guides.github.com/​activities/​hello-world/​     * Tutorial by github: https://​guides.github.com/​activities/​hello-world/​
     * Got 15 minutes and want to learn Git? Interactive tutorial: https://​try.github.io/​levels/​1/​challenges/​1     * Got 15 minutes and want to learn Git? Interactive tutorial: https://​try.github.io/​levels/​1/​challenges/​1
 +  * Essential commands:
 +    * To get code from a server: git clone
 +    * To update your code to the latest version: git pull
 +    * To stage the files you changes (ie to include them in the next commit): git add
 +    * To commit your changes: git commit
 +    * To change branch: git checkout
 +    * To push your commits to the server: git push
 +    * To see what changes in a file: git diff
   * git commit:   * git commit:
     * -a: Automatically stages files that have been modified and deleted, but new files you have not told Git about are not affected.     * -a: Automatically stages files that have been modified and deleted, but new files you have not told Git about are not affected.
git.txt ยท Last modified: 2018/04/02 19:55 by jfduval