Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
linux:git [2019/05/24 13:03] – mh | linux:git [2019/09/22 20:37] – mh | ||
---|---|---|---|
Line 15: | Line 15: | ||
</ | </ | ||
+ | ==== Branches ==== | ||
+ | |||
+ | Switch branch (option create) | ||
+ | < | ||
+ | git checkout branch_name | ||
+ | git checkout -b create_branch_name | ||
+ | </ | ||
==== Atom, Git and Rust ==== | ==== Atom, Git and Rust ==== | ||
- | I need to write a clear procedure on how to manage with the graphical interface git for rust projects. | + | When you create |
+ | |||
+ | To connect | ||
+ | |||
+ | < | ||
+ | git remote add origin < | ||
+ | git push --all origin | ||
+ | </ | ||
+ | |||
+ | If you want to set all of your branches to automatically use this remote repo when you use git pull, add --set-upstream to the push: | ||
+ | |||
+ | < | ||
+ | git push --all --set-upstream origin | ||
+ | </ | ||
+ | |||
+ | Atom has a built-in git feature that will automatically | ||
+ | |||
+ | ===== Ressources ===== | ||
+ | |||
+ | [[https:// |