Commit the first set of changes: git commit -m "update the README to include links to contributing guide".Add only one file, or one part of the changed file: git add README.md.Push the changes to the remote branch: git push -u origin update-readme.Commit the changes: git commit -m "update the README to include links to contributing guide".Add the files or segments of code that should be included in the next commit: git add README.md.Checkout to that branch: git checkout update-readme.Create a branch: git branch update-readme.Git add usually fits into the workflow in the following steps: You can see all of the many options with git add in git-scm's documentation. git add -p: Interactively stage hunks of changes.: Stage all files (that are not listed in the.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |