9/3/2023 0 Comments Git in visual studio codeThe only version to revert to was the original, which meant all my hard work went to waste! Guess what, these are the times when I found I made the worst mistakes! I used to get so engrossed with my modifications that I would forget to make a backup of the changes and end up with an unworkable script. However, there were instances when I was making backups of the modified script because I had tested a modification and it worked, however I didn’t want to risk breaking it when further modifying the file. This provided me with a timestamp of when I changed the file and a way of reverting my changes. To make a copy of a script, I would normally suffix the file with the current time and date. Ok, time to fess up □ Hands up those that have modified a script, only to realise that the modifications broke it! To make matters worse, you forgot to take a copy of the original!ĭon’t worry, I have been in that boat, and can remember the countless hours I spent, getting the script back to what it was (mind you, I am not talking about a formal business change here, which is governed by strict change control, but about personal scripts, that you have created to make your daily tasks easier) ![]() However, writing scripts brings about its own challenges. Whenever I saw repeatable tasks, I saw an opportunity to script them, and pass them onto a junior to do □ ![]() ![]() Coming from a system administration background, I am used to writing scripts to get mundane tasks done.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |