[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-detail-573220-en":53,"doc-seo-573220-105":74},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":5,"data":54},{"doc_id":55,"user_id":56,"nickname":57,"user_avatar":58,"doc_module":9,"category_id":50,"category_name":51,"doc_title":59,"doc_description":60,"doc_content":61,"file_id":62,"file_url":63,"file_type":64,"file_size":65,"view_count":66,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":9,"language":67,"language_code":68,"site_id":69,"html_lang":68,"table_of_contents":70,"faqs":71,"seo_title":72,"seo_description":60,"update_tm":73,"read_time":4},573220,7971461740886,"Theodore","https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","Git Cheatsheet - Essential Commands and Workflow Guide","This Git cheatsheet provides a concise and systematic overview of essential version control operations. It categorizes commands into six functional sections: initializing or cloning projects, managing local file states, handling branch navigation, reviewing repository history, collaborating through remote synchronization, and executing error recovery procedures. The document includes a clear visual representation of the Git workflow, illustrating the lifecycle of data movement from the working directory through the staging area to the local and remote repositories. Designed for developers of all skill levels, this guide serves as a practical reference for streamlining development workflows, ensuring version integrity, and maintaining efficient repository management practices across collaborative software engineering projects.","","cbCaimiu5eLU07PA","https://ap.wps.com/l/cbCaimiu5eLU07PA","pdf",617570,3,"English","en",105,"# Git Workflow Basics\n## Project Initialization and Branching\n## Version Control and Collaboration","[{\"question\":\"How do I start a new Git project locally?\",\"answer\":\"You can initialize a new repository in your current directory by using the command 'git init' or clone an existing repository using 'git clone \\u003cPROJECT_URL\\u003e'.\"},{\"question\":\"What is the difference between git add and git commit?\",\"answer\":\"'git add' moves changes from your working directory to the staging area to prepare them for a snapshot, while 'git commit' saves those staged changes into the local repository with a descriptive message.\"},{\"question\":\"How can I undo changes or fix mistakes in my repository?\",\"answer\":\"You can use 'git revert \\u003ccommit\\u003e' to undo changes from a previous commit, or 'git stash' to temporarily set aside your current changes for later use.\"}]","Git Cheatsheet - Essential Commands and Workflow Guide | PDF",1791934861,{"code":4,"msg":75,"data":76},"ok",{"site_id":69,"language":68,"slug":77,"title":59,"keywords":61,"description":60,"schema_data":78,"social_meta":133,"head_meta":135,"extra_data":137,"updated_unix":138},"git-cheatsheet-essential-commands-and-workflow-guide",{"@graph":79,"@context":132},[80,95,115],{"@type":81,"itemListElement":82},"BreadcrumbList",[83,87,90,92],{"item":84,"name":85,"@type":86,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":88,"name":10,"@type":86,"position":89},"https://docshare.wps.com/template/",2,{"item":91,"name":51,"@type":86,"position":66},"https://docshare.wps.com/template/general/",{"item":93,"name":59,"@type":86,"position":94},"https://docshare.wps.com/template/git-cheatsheet-essential-commands-and-workflow-guide/573220/",4,{"url":93,"name":59,"@type":96,"image":97,"author":102,"headline":59,"publisher":104,"fileFormat":107,"inLanguage":68,"description":60,"dateModified":108,"datePublished":109,"encodingFormat":107,"isAccessibleForFree":110,"interactionStatistic":111},"DigitalDocument",{"url":98,"@type":99,"width":100,"height":101},"https://docshare.wps.com/thumbnails/git-cheatsheet-essential-commands-and-workflow-guide/573220.png","ImageObject",442,249,{"name":57,"@type":103},"Person",{"url":84,"name":105,"@type":106},"DocShare","Organization","application/pdf","2026-10-16","2026-10-13",true,{"@type":112,"interactionType":113,"userInteractionCount":66},"InteractionCounter",{"@type":114},"ViewAction",{"@type":116,"mainEntity":117},"FAQPage",[118,124,128],{"name":119,"@type":120,"acceptedAnswer":121},"How do I start a new Git project locally?","Question",{"text":122,"@type":123},"You can initialize a new repository in your current directory by using the command 'git init' or clone an existing repository using 'git clone \u003CPROJECT_URL>'.","Answer",{"name":125,"@type":120,"acceptedAnswer":126},"What is the difference between git add and git commit?",{"text":127,"@type":123},"'git add' moves changes from your working directory to the staging area to prepare them for a snapshot, while 'git commit' saves those staged changes into the local repository with a descriptive message.",{"name":129,"@type":120,"acceptedAnswer":130},"How can I undo changes or fix mistakes in my repository?",{"text":131,"@type":123},"You can use 'git revert \u003Ccommit>' to undo changes from a previous commit, or 'git stash' to temporarily set aside your current changes for later use.","https://schema.org",{"og:url":93,"og:type":134,"og:title":59,"og:site_name":105,"og:description":60},"article",{"robots":136,"canonical":93},"index,follow",{"doc_id":55,"site_id":69},1792124527]