# GitGuide **Repository Path**: jiangxihj/GitGuide ## Basic Information - **Project Name**: GitGuide - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-01-12 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README GitGuide Some simple tips for my basic git workflow. ====================== BRANCHING 1) Create branch (and move into it all at once) git checkout -b 2) See what branches exist git branch 3) Switch into some existing branch git checkout ======================= BRANCH w/ remote tracking Remote tracking allows multiple devs/multiple computers to have access to the same branch. 1) Create the branch (locally) git checkout -b 2) Commit to the remote server FOR THE FIRST TIME git commit -a -m "My Message" git push -u origin 3) Check out branch on remote machine git checkout --track -b origin/ 4) Commit+Push edits to the branch (on any machine) AT ANY TIME git commit -a -m "My msg" git push