![]() ![]() ![]() You can fixup to merge two commits together. You can reword a commit to change the commit message. rebase -i: (interactive rebase) I use this when I need to make fixes to commits in my local copy of the repo that I haven't yet pushed to the online repo.rebase: I use this to copy commits from one branch to another.The other processes I find most useful are: Usually for the advanced processes I find it's easiest/necessary to use Git commands rather than the GUI I normally prefer for the standard processes. For the processes that I do rarely enough to forget in the interim I keep a notes file that contains instructions for each process. Once you understand the workflow you can simply do a search for any specific process for more information.Īfter a while you'll probably find the need to do other more advanced processes but when that time comes you can just search for how to do exactly what you need rather than trying to understand the entirety of Git, which will include a lot of information you'll never use or forget before you do need it. I find it easiest to just do this step via the GitHub web interface. Submit a pull request from your development branch to the target branch in the parent repo.push the commit(s) to your online repo.branch a development branch for the specific feature/bug request you want to propose.clone a local copy of the fork to work on.fork your own copy of the repo to work in.Workflow for contributing to repositories where you don't have push rights: ![]() GitHub does allow you to work on the online copy via the web interface but this is very limiting and so it shouldn't be used for anything but the most simple changes. clone a local copy of the online repo, or if you already have a clone then pull to make sure it's up to date.Workflow for working on your own repositories (repositories where you have push rights): Beyond learning a basic Git/GitHub workflow, I never found the tutorials very helpful. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |