# test-dev **Repository Path**: goto456/test-dev ## Basic Information - **Project Name**: test-dev - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2015-10-27 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ###test-dev ####Instruction * Get project repository `git clone git@git.oschina.net:jian_liu/test-dev.git` * Enter project repository `cd test-dev` * Make a local *dev* branch to trace remote *dev* branch `git checkout --track origin/dev` * Make your *feature* branch and checkout to it `git checkout -b featurexxx` * Coding to make your feature done and test it. (Add a file named xxx.txt, xxx is your name.) * Make git to trace new added file `git add .` * Commit change `git commit -am 'Edit by xxx'` * Checkout to dev branch `git checkout dev` * Merge *feature* branch `git rebase featurexxx` * Delete *feature* branch (optional) `git branch -d featurexxx` * Push dev to remote `git push origin dev` (Before you push, you may need to fetch the newer repository by `git pull origin dev`) For adding another new feature: * Update dev branch `git pull origin dev` * Make *feature* branch and checkout to it `git checkout -b featureyyy` * Coding and testing in *featureyyy* branch (may create new branch) * Trace and commit change by `git add .` && `git commit -am 'commit message'` * Checkout to dev branch `git checkout dev` * Merge *feature* branch `git rebase featureyyy` * Delete *feature* branch (optional) `git branch -d featureyyy` * Push dev to remote `git push origin dev` (Before you push, you may need to fetch the newer repository by `git pull origin dev`)