[DiscordArchive] If i makes change in e.g world.cpp and build i will se the changes in action (if i didnt screw it up
[DiscordArchive] If i makes change in e.g world.cpp and build i will se the changes in action (if i didnt screw it up
Archived author: Ryan Turner • Posted: 2024-10-28T19:00:46.745000+00:00
Original source
If i makes change in e.g world.cpp and build i will se the changes in action (if i didnt screw it up) but in case i w ant to revert to the original code, cmaking it and generating a new proejct again right?
Archived author: sudlud • Posted: 2024-10-28T19:02:02.861000+00:00
Original source
No need for cmake, just revert the changes in file world.cpp using git, then hit compile again
Archived author: Ryan Turner • Posted: 2024-10-28T19:02:45.967000+00:00
Original source
What if i making the changes locally without git
Archived author: sudlud • Posted: 2024-10-28T19:03:03.244000+00:00
Original source
I very much recommend checking out the git repository
Archived author: sudlud • Posted: 2024-10-28T19:03:16.203000+00:00
Original source
Because git is awesome
Archived author: sudlud • Posted: 2024-10-28T19:03:18.112000+00:00
Original source
:p
Archived author: sudlud • Posted: 2024-10-28T19:03:40.810000+00:00
Original source
You can also have it checked out in different locations multiple times etc
Archived author: Ryan Turner • Posted: 2024-10-28T19:03:51.221000+00:00
Original source
If i make a new branch with github desktop i can revert via there like i usually in another changes right?
Archived author: sudlud • Posted: 2024-10-28T19:04:27.278000+00:00
Original source
Yeah you can push changes into a new branch for testing etc and then just go back to master branch for example
![[Image: image.png?ex=690c487b&is=690af6fb&hm=7f9...ea465e558&]](https://cdn.discordapp.com/attachments/284323424032129024/1300535673895522344/image.png?ex=690c487b&is=690af6fb&hm=7f901287bd58e11bd880c9f37b2e2a834bc20e5d7e2601e56993059ea465e558&)
Archived author: Ryan Turner • Posted: 2024-10-28T19:04:27.463000+00:00
Original source
this
![[Image: image.png?ex=690c487b&is=690af6fb&hm=7f9...ea465e558&]](https://cdn.discordapp.com/attachments/284323424032129024/1300535673895522344/image.png?ex=690c487b&is=690af6fb&hm=7f901287bd58e11bd880c9f37b2e2a834bc20e5d7e2601e56993059ea465e558&)