Annotation
%anIs the author's name
--graphUse ASCII Image Layout to display the submission tree
--date=shortThe retention date format is better and shorter.
Obtain the old version:
Git checkout
Cat file name: for example, hello. rb
Git checkout master: returns the latest version.
Tag versions
Git tag xx: tag XX for the current version, such as git tag v1
Mark the previous version ====== and u
; export cvsroot
The remote CVS server settings are also described below:Cvsroot =: ext: $ USER@test.server.address # port:/path/to/cvsroot cvs_rsh = SSH; export cvsroot cvs_rsh
Initialization: the initialization of the CVS version library.CVS init
First import of a projectCVS import-M "write some comments here" project_name vendor_tag release_tagAfter execution: all source files and directories will be imported to the/path/to/cvsroot/project_name directory.Vender_tag: developer tagRelease
; export cvsroot
The remote CVS server settings are also described below:Cvsroot =: ext: $ USER@test.server.address # port:/path/to/cvsroot cvs_rsh = SSH; export cvsroot cvs_rshInitialization: the initialization of the CVS version library.CVS init
First import of a projectCVS import-M "write some comments here" project_name vendor_tag release_tagAfter execution: all source files and directories will be imported to the/path/to/cvsroot/project_name directory.Vender_tag: developer tagRelease_ta
previous version immediately. Now I can modify the following methods:
First, if I know what I want to delete, I will manually delete those files, add them to the temporary storage area, and then commit them.
Second, I can directly restore to the previous version using the previous method. Use git reset -- hard head ^
But now I don't want to use the above two methods. What should I do if I want to use the undo command directly? First, you can check the current status with GIT status before undoi
are not familiar with git, skip the example section.
I. Master Branch
First, the code library should have one and only one master branch. All official versions provided to users are published on this main branch.
The name of the GIT main branch. The default name is master. It is automatically created. After the version library is initialized, It is developed in the main branch by default.
2. Development Branch develop
The main branch is only used to distribute major versions. Daily development
.; Git add-u;Git add-a4. Submission:(1) From staging area I to local warehouse Lgit commit-m [Submit message](2)5. Revocation(1) From staging area I to work area Wgit rm--cached (2) Revert to head versiongit reset--hard HEAD(3) Modify the submitted user name informationgit commit--amend--author= "author Name 6. Remote(1) Change the remote warehouse addressgit remote Set-url origin http://xxx.xx.com/x.git(2) View Remote warehouse logsgit log origin/master(3) Compare local and remote branchesgit d
I can do the following in several ways:First: If I know what to delete, just manually change the files that need to be removed, then add to staging area, and finally commit.Second: I can revert to the previous version directly in the previous way. Using Git reset–hard head^But now I do not want to use the 2 methods above, I would like to directly use the Undo command how to do? First, before we undo, we can look at the current state with Git status. As shown below:As you can see, Git will tell
section.First, the main branch masterFirst, the code base should have one, and only one main branch. All the official versions available to the user are published on this main branch.The name of the GIT Main branch, which is called Master by default. It is built automatically, and after the repository is initialized, the default is to develop in the main branch.Second, the development branch developThe main branch is used only to distribute major versions, and daily development should be done o
section.First, the main branch masterFirst, the code base should have one, and only one main branch. All the official versions available to the user are published on this main branch.The name of the GIT Main branch, which is called Master by default. It is built automatically, and after the repository is initialized, the default is to develop in the main branch.Second, the development branch developThe main branch is used only to distribute major versions, and daily development should be done o
In the machine room reconfiguration, there are many functions of the implementation of the database in the operation of more than one table. For example, checkout, after the successful checkout function is: 1, modify the card table checkout status. 2. Revise the checkout status of the Recharge list. 3. Modify the
Reading Notes Objective C ++ Item 40 wise and careful use of multiple inheritance, too tiveitem1. Two camps inherited from each other
When we talk about multi-inheritance (MI), the C ++ committee is divided into two basic camps. One camp believes that if a single inheritance is of a good C ++ nature, it will certainly be better if there are more inheritance. The other camp argues that single inheritance is indeed good, but it is too troublesome to use it. In this clause, my main goal is to let y
creating a separate version of your code that is independent of your backbone. By default, every code you commit to git will be stored in the "Master (Trunk)" Branch.Now, for example, we want to add a feature to the project, but we want to be able to roll back to the current version, to prevent errors, or we will eventually abandon this feature. At this point, we can create the branch and switch to the new branch and send the command:Git checkout-b n
A. What is SVNFull name SubVersion
Code management tools, used in team development, for easy code management
CVS (CVS is the Code management tool prior to SVN) for the development team when the subversion was first developed
After SubVersion1.0, he used subversion to manage subversion.
C/S Program
Server servers are used to manage code (code or project is stored in the server's Warehouse repository)
Clients can submit to the server, download the latest code from the server (check out
function, you can use$ git log--since=2.weeks//list all submissions in the last two weeksOptions for restricting git log outputOption description-(n) show only the most recent n submissions--since,--after only displays commits after the specified time.--until,--before displays only the commits before the specified time.--author displays only the commits associated with the specified author.--committer displays only the commits that are related to the specified submitter.--grep Show only submiss
Using ASP. NET WebHooks Preview: Http://blogs.msdn.com/ B /webdev/archive/2015/09/06/receiving-slack-webhooks-with-asp-net-webhooks.aspx
Integrating with Salesforce using ASP. NET WebHooks Preview: Http://blogs.msdn.com/ B /webdev/archive/2015/09/07/integrating-with-salesforce-using-asp-net-webhooks-preview.aspx
WebHooks is a lightweight HTTP interaction mode. It integrates the SaaS system and web api th
Oracle CEOLarryEllison announced last week that it would set up a new technology alliance. Its members may be Salesforce.com, NetSuite, Microsoft, and other companies. This morning, former competitor --Salesforce.com and Oracle announced a nine-year cooperation plan to integrate the cloud services of both parties. The cooperation will
Oracle CEO Larry Ellison announced last week that a new technology alliance will be established, including Salesforce.com, NetSuite, and Microsoft. This morning, f
,Denormalization, duplication and intelligent keysThe anti-normalization mechanism avoids join and other complex relational operations through repeated data. Therefore, if the data is updated frequently, this design will be very troublesome.
Therefore, in the nosql design, Jin Ke Yu law is: Design for the questions, not the answersFirst, we need to understand that nosql is a compromise. Any nosql design is only optimizing the current scenario, just to answer this question.If you forget about per
, at the same time, its competitors provided products and services equivalent to its professional edition, which required $65 to $75 per person per month, the product services equivalent to the Enterprise Edition cost about $100 per person per month.
Salesforce's CRM software Professional Edition is priced at $65/month/user, and the Enterprise Edition is $125/month/user. However, the company does not consider that Microsoft's price is competitive for such products, because these statements can b
I recently did some research on integration of Salesforce and AutoCAD WS. I wrote two articles earlier and published a series of English articles on ADN DevBlog. Post it now. If you are interested, please leave a message for me:
Getting started with Salesforce Development
Salesforce.com + AutoCAD WS Integration Research part2
Set up development environment and hello world environment Settings, getting star
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.