#git
Read more stories on Hashnode
Articles with this tag
Sometimes you just want to get rid of all the local untracked files. If you are sure of what you're doing (because there is no way to get back ! )...
If you messed up your code and you want to revert the changes you made, you can use git reset --hard [commit] where [commit] is the "commit hash"...
Steps to return temporarily to a previous commit ( to check out a stale version of our code) and then come back to the latest commit. Start with git...
Best practice in GIT is to create a "feature branch" for each new feature, bug fix, or enhancement we have to code. Each branch should contain only...