?
- Download Installation GitHub client.
Http://windows.github.com
- Open GitHub client.
- after logging in, click the plus sign in the top left corner to create a Repository.
( You can also click clone to clone the item above GitHub to local.) )
- when the creation is complete, click on the top right corner Publish Repository, You can put this Repository Publish to GitHub above.
- if not installed node. js, is installed node. js.
- with NPM in the global installation Grunt.
- installation Grunt-init.
?
- Open git shell.
- Navigate to the newly created GitHub The local directory for the warehouse.
?
- installation Grunt-init of the jquery template.
run the following command first :
git clone https://github.com/gruntjs/grunt-init-jquery.git ~/.grunt-init/jquery |
?
???? after running, the local directory is as follows:
????
need to be ~ content in the catalog is clipped to %UserProfile% directory, and then delete the ~ folder.
????????
?
- in the git shell run the following command.
You will be prompted to enter the project information, follow the prompts to fill in.
After filling out all the contents, the directory structure is as follows:
- Open Github Client, click UNCOMMITTED Changes the downward symbol on the right, expands.
- input Summary and Description, click Commit to Master, you can submit it to GitHub up.
?
?
if GitHub does not appear, may need to click on the upper right corner of the Sync button.
Refresh GitHub, you can see it.
Grunt Learn one: Use grunt to create jquery plugin.