Reset Project with Gith Bash
Now, after last topic about reverse, talk about reset.
There is a big difference, and is important understand the risk to use the reset command.
For make an example, find and copy the hashcode of starting project.
Easy method to find it is go to github page
Switch to master branch and paste it after reset command
This means that : setting “head” to this point in local project.
Reload Unity, which now is an empty project, like at the beginning.
To update the server, we have to force it with push
Now, go to GitHub and refresh the page.
There are only two commit,
Initial commit, and Test
We need to pay attention when use reset and force command, because we literally reset to our origin start pack.
Is often better create new branch for changes and work on that.
So watch out when use it!