{"id":5772,"date":"2023-11-01T01:01:34","date_gmt":"2023-10-31T17:01:34","guid":{"rendered":"https:\/\/www.alfredivy.sg\/blogger\/?p=5772"},"modified":"2023-11-01T14:43:10","modified_gmt":"2023-11-01T06:43:10","slug":"using-github-and-pycharm","status":"publish","type":"post","link":"https:\/\/www.alfredivy.sg\/blogger\/2023\/11\/using-github-and-pycharm\/","title":{"rendered":"Using GitHub and Pycharm"},"content":{"rendered":"\n<p>Using GitHub and Pycharm as a non-programmer.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>A few years ago, I found a nifty program on Github that will convert a Cisco show run into an Excel spreadsheet.  I copied it into Notepad, saved and tested it.  There were lots of bugs, the program kept crashing due to input errors. I worked on and off for over 2 years to get it working the way I wanted.<\/p>\n\n\n\n<p>The program now works and I have added more variables for more types of media in the program so that it can handle newer hardware.<\/p>\n\n\n\n<p>Now it is time to link or ideally push the changes back into the original project.  This is to close the loop and publish my code. Since I have manually downloaded the code, there is some work required to setup the base. I need to:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Using my GitHub account, fork the original project.  Create a new branch to hold my development<\/li>\n\n\n\n<li>Using PyCharm, clone the fork to my computer so that I can work on it.  <a href=\"https:\/\/www.geeksforgeeks.org\/how-to-clone-web-project-from-github-in-pycharm-using-git\/\" data-type=\"link\" data-id=\"https:\/\/www.geeksforgeeks.org\/how-to-clone-web-project-from-github-in-pycharm-using-git\/\">Link<\/a><\/li>\n\n\n\n<li>Using ExamDiff, identified my changes and line by line, I updated the clone.  I have wondered if there is a tool in PyCharm to do this.<\/li>\n\n\n\n<li>Commit my changes to the fork.  This will push the changes online.<\/li>\n<\/ol>\n\n\n\n<p>The next thing I want to do is to pick a feature from other developers to add to mine, eg vlan or mac address extraction.  <a href=\"https:\/\/docs.github.com\/en\/desktop\/managing-commits\/cherry-picking-a-commit-in-github-desktop\">link<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using GitHub and Pycharm as a non-programmer.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[530],"tags":[575,531],"class_list":["post-5772","post","type-post","status-publish","format-standard","hentry","category-programming","tag-github","tag-python"],"_links":{"self":[{"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/posts\/5772","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/comments?post=5772"}],"version-history":[{"count":3,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/posts\/5772\/revisions"}],"predecessor-version":[{"id":5777,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/posts\/5772\/revisions\/5777"}],"wp:attachment":[{"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/media?parent=5772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/categories?post=5772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alfredivy.sg\/blogger\/wp-json\/wp\/v2\/tags?post=5772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}