Version control using git¶
git is a powerful way to version control your design and one of the key reason we started atopile. If you don't know about git, we strongly recommend learning it. There is a high chance you will end up loving it.
Get stuff from the server / sync¶
git fetch origin
Make a new branch¶
git checkout -b <branch-name>
git checkout -b <branch-name> <from-branch>
git checkout -b mawildoer/new-feature origin/main
Save some work¶
git add <whatever-you-wanna-save>
git add . -- save everything I've changed (including perhaps things we forgot to
git commit -m "<message-here>"
Push it back for everyone else¶
git push works if you didn't spec a "from" branch in
git checkout -b ...
git push -u origin HEAD always works
Will respond with a way to make a branch: