You need to synchronize your fork/clone with their source. This happens so often and it’s so predictable that you’d think there would be a Sync button or something like it, but there’s not.Īlso, if you try something rational, like opening your Git Shell (I use Git for Windows with posh-git) and trying to fetch/merge or pull (or push or anything else you can think of), that won’t work, because, by default, those commands synchronize your clone (on disk) with your fork (online) and they’re already in sync. So, you want to synchronize your branch of your fork (the online copy) and its clone (the disk copy) with the files in the source repository. While you were working, other people were working, too. “This branch is n commits behind (source-repo).” Then, when you’re ready to work, you notice the message on your fork. You spend some time examining the files and interpreting the code. You create a fork (an online copy) of a repository and a clone (a local copy on disk) of your fork. If this solution works for you, tweet your thanks to Steven. My utmost thanks to PowerShell MVP and Principal Engineer – Community Engineering for Chef, Steven Murawski for showing me the solution and letting me try it by myself (twice) while he was standing nearby in case of disaster. I just discovered a solution to one of the problems I encounter frequently, so I want to share it with you. Worst of all, because most people memorize a command sequence without fully understanding how it works, when something goes wrong, it’s almost impossible to troubleshoot. To use it, you have to forget the actual meaning of words in English, or even their technical meaning, and use them as though they are arbitrary strings. Its misleading language excludes users, rather than welcoming them. In fact, I dislike it, because it’s confusing by design. Like almost everyone in the DevOps world, I use GitHub, not because I like it, but because everyone uses it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |