Visualcode integrates GitHub functionality and is a powerful tool for program apes to participate in open source projects. Compared to the sublime is a lot simpler (plug-in installation cumbersome, such as you try to install Gosublime in Sublime2, there are pits; Sublime 3 Fixes a bug in the package control). In short, there is a trust in the projects that Daniel Eric Gramma is responsible for, the main difference being productivity.
Visualcode is not particularly familiar with the development of the GitHub Open source project today using a hybrid model-that is, using the ITerm2 Terminal clone project, editing and submitting in Visualcode, and generating pull Request on the GitHub site. The steps are as follows:
1) git clone https://github.com/beepone/bootstrap.git
2) CD Bootstrap
3) Open the above directory in Visualcode, edit a file
4) Click on the GitHub icon on the left, VC automatically find the change, then enter a message, press Command+enter
5) inside the ITerm2 terminal, in the current directory, enter Git push, note that it is better to set the global user name and mailbox before the unrecognized author warning appears.
git config--global user.name "yourname in GitHub"
git config--global user.email [email protected]
6) Successful submission, you should be able to see the following information
Counting Objects:3, done.
Delta compression using up to 4 threads.
Compressing objects:100% (3/3), done.
Writing objects:100% (3/3), 281 bytes | 0 bytes/s, done.
Total 3 (Delta 2), reused 0 (Delta 0)
Remote:resolving deltas:100% (2/2), completed with 2 local objects.
To Https://github.com/beepony/bootstrap.git
8f0dd8a. 2F783CA Master, Master
If you want to rollback the commit you just made, enter the following two commands
git reset--hard head^
Git push Origin HEAD--force
Output
Total 0 (Delta 0), resued 0 (Delta 0)
To Https://github.com/beepony/bootstrap.git
+ f4cc153 ... 8f0dd8a HEAD, Master (forced update)
Finally, in the GitHub project, find commit and click into a page to create a pull Request.
Submit pull Request for GitHub using Visualcode + iTerm2