![]() The entire Pro Git book, written by Scott Chacon and Ben Straub and published by Apress, is available free here or to purchase here. $ git commit -m "Fixed CVE-42" Get Pro Git book In this example diff of what is staged but not yet commited:įinally, commit your staged content as a new commit with description: Let us diff of what is changed but not staged right now: One can unstage a file while retaining the changes in working directory. Here is how to add a file to your next commit (stage): Want to see staged file for your next commit? Try: We can initialize an existing directory as a Git repository as follows: Remote: Total 1604 (delta 0), reused 1604 (delta 0) Let us clone repo located at onto local machine. $ git config -global user.email coloring options for ease of use: ![]() ![]() ![]() $ git config -global user.name "Vivek Gite" We can setup user info used across all local repos. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |