{"id":255,"date":"2021-06-11T09:33:00","date_gmt":"2021-06-11T13:33:00","guid":{"rendered":"http:\/\/ericburdo.com\/blog\/?p=255"},"modified":"2021-06-06T21:33:15","modified_gmt":"2021-06-07T01:33:15","slug":"welcome-to-git-what-i-learned","status":"publish","type":"post","link":"http:\/\/ericburdo.com\/blog\/code\/255\/welcome-to-git-what-i-learned\/","title":{"rendered":"Welcome to Git (what I learned)"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Or:  How do I use Git (bitbucket, etc.) &#8211; and what do these new terms mean.<\/h4>\n\n\n\n<p>I come from a background of using source code control and versioning.  I originally started with Visual SourceSafe long ago.  I&#8217;ve since used other tools, but predominantly using the &#8220;library method&#8221; and Microsoft tools (Team Foundation Server or TFS).<\/p>\n\n\n\n<p>My current role&#8230; has me using git (well, bitbucket to be specific).  My last role had me using that as well&#8230; but they had a different workflow then I do now.<\/p>\n\n\n\n<p>So, I&#8217;m trying to wrap my head around the new terminology.<\/p>\n\n\n\n<p>I&#8217;m going to document some of the &#8220;new terms&#8221; and map them to what <strong>I<\/strong> understand them to mean.  I&#8217;ll include some links to where I did some of my research to come up with this &#8220;map&#8221;.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Remote &#8211; The source code living out on the server.<\/li><li>Local &#8211; your copy of the source code on your local working space.<\/li><li>Fetch &#8211; Get the latest version of the code from the remote.<\/li><li><a href=\"https:\/\/www.atlassian.com\/git\/tutorials\/using-branches\/git-checkout\">Checkout <\/a>&#8211; Make the branch the &#8220;Active&#8221; one.  This means all future commits happen to this branch.<ul><li>If you have the project open in Visual Studio when you checkout a branch, VS will usually prompt you to reload the project.<\/li><\/ul><\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p>I&#8217;ll post\/update more as I find new stuff.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Or: How do I use Git (bitbucket, etc.) &#8211; and what do these new terms mean. I come from a background of using source code control and versioning. I originally started with Visual SourceSafe long ago. I&#8217;ve since used other tools, but predominantly using the &#8220;library method&#8221; and Microsoft tools (Team Foundation Server or TFS). [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[107,106,108],"class_list":["post-255","post","type-post","status-publish","format-standard","hentry","category-code","tag-bitbucket","tag-git","tag-source-code-control"],"_links":{"self":[{"href":"http:\/\/ericburdo.com\/blog\/wp-json\/wp\/v2\/posts\/255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/ericburdo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ericburdo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ericburdo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ericburdo.com\/blog\/wp-json\/wp\/v2\/comments?post=255"}],"version-history":[{"count":4,"href":"http:\/\/ericburdo.com\/blog\/wp-json\/wp\/v2\/posts\/255\/revisions"}],"predecessor-version":[{"id":282,"href":"http:\/\/ericburdo.com\/blog\/wp-json\/wp\/v2\/posts\/255\/revisions\/282"}],"wp:attachment":[{"href":"http:\/\/ericburdo.com\/blog\/wp-json\/wp\/v2\/media?parent=255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ericburdo.com\/blog\/wp-json\/wp\/v2\/categories?post=255"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ericburdo.com\/blog\/wp-json\/wp\/v2\/tags?post=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}