You Want To… | Notes | Solution | |
---|---|---|---|
Discard changes you’ve made to a file in your working directory. | Changed file is not staged, or committed. | checkout — [filename] | |
Discard all unsaved changes in the working directory File is staged, but not committed. | reset –hard | ||
Combine several commits up to but not including a specific commit. | reset [commit-id] | ||
Remove all unsaved changes including untracked files. | Changed files are not committed | clean -fd | |
Remove all staged changes and previously committed | work up to a specific commit but do not remove new files from the working directory. | reset –hard [commitid] | |
You want to remove previous work but keep the commit history intact (“roll forwards”). | Branch has been published; working directory is clean. | revert [commit-id] | |
Remove a single commit from a branch’s history. Changed files are committed; working directory is clean; | branch has not been published. | rebase –interactive | [commit-id] |
Keep previous work but combine it with another commit. | Select the squash option | rebase –interactive [commit-id] |
- my portfolio 2.0
- Overview
- Automation
- ROS, Serializer
- Django frameworks
- Node frameworks
- Racing drones
- APM drones
- DJI drones
- Feature drones
- Schooling
- AIOT embedded projects
- Books
- AI Generative
gitteam book summary
Get Started - the book
Your first steps should be to get started. You will need to do the following:
If you run into any of these setup issues, you must solve them before you can continue on.
Build your widgets
In this step, you will build the widgets for your system. The widgets form the various components that blah blah blah this is dummy text power the nuclear capabilities of your energy transformer into deep space using wormhole technology and warp drive speeds.
In order to configure your widgets, you will need to follow these topics:
Publish your app
After you've configured all the necessary components to build your space transformer, you need to publish your app. Of course this content is also just dummy text. Pay no particular attention to the content but rather the format and placement of the map.
To publish your app, see the following: