tag:blogger.com,1999:blog-8321077109444530317.post3406437436352379042..comments2023-07-17T03:56:44.424-07:00Comments on A Coder's Log: Creating A Remote Branch With GitDon Bransonhttp://www.blogger.com/profile/08699972846989300948noreply@blogger.comBlogger24125tag:blogger.com,1999:blog-8321077109444530317.post-64517950002652340542018-01-25T03:12:08.958-08:002018-01-25T03:12:08.958-08:00I am unclear on merging fixes. Lets say I have the...I am unclear on merging fixes. Lets say I have the master branch ... a new feature branch and a debug branch. As we are building the code we fix a bunch of bugs. As bugs are fixed and committed I want to merge them into the new feature branch for testing. Can I do this and if so how?<br /><br />Also, part of the file structure is the revision numbers, so I don't want to merge those files and changes ... but wish to keep the actual bug fixes. So can I be selective on which changes I merge from each bug fix branch?xcom 2 technology treehttp://xcom2consolecommands.com/xcom-2-technology-tree/noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-61516853408316672412018-01-05T11:27:46.981-08:002018-01-05T11:27:46.981-08:00learned something thank you " git push origin...learned something thank you " git push origin --delete "branch name" " added to my notes.eu4 console commandshttp://eu4consolecommands.com/noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-63823749969892071092018-01-02T04:05:04.376-08:002018-01-02T04:05:04.376-08:00I am unclear on merging fixes. Lets say I have the...I am unclear on merging fixes. Lets say I have the master branch ... a new feature branch and a debug branch. As we are building the code we fix a bunch of bugs. As bugs are fixed and committed I want to merge them into the new feature branch for testing. Can I do this and if so how?<br />dilo egghttp://arkconsolecommands.com/crafted-dilo-egg/noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-39350511478676442802012-06-19T22:43:28.146-07:002012-06-19T22:43:28.146-07:00Thanks, however Graham's suggestion doesn'...Thanks, however Graham's suggestion doesn't work for me. I do <br />git push -u origin <br /><br />and then get:<br />error: src refspec description does not match any.<br />error: failed to push some refs to 'git@github.com:.git'<br /><br />so I just did the 'old' way :)DomScapehttps://www.blogger.com/profile/18114473282215924003noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-74383610071707865672012-04-04T01:51:31.173-07:002012-04-04T01:51:31.173-07:00Thanks a lot..
This solved my problem of creation...Thanks a lot.. <br />This solved my problem of creation of new branch.Gajananhttps://www.blogger.com/profile/17496800553706594188noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-6574403048693486582012-01-27T04:43:30.745-08:002012-01-27T04:43:30.745-08:00This post was so useful. ThanksThis post was so useful. ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-40916494179669198602011-08-18T10:08:56.809-07:002011-08-18T10:08:56.809-07:00Thanks!
Why do people make things unnecessarily co...Thanks!<br />Why do people make things unnecessarily complicated?<br />:)Sarah-Janenoreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-38903117039051486912011-06-17T11:53:27.886-07:002011-06-17T11:53:27.886-07:00Choco, thanks for the kudos. :) It always feels g...Choco, thanks for the kudos. :) It always feels good to be able to help somebody out.Don Bransonhttps://www.blogger.com/profile/08699972846989300948noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-46203465740066784972011-06-17T11:44:26.205-07:002011-06-17T11:44:26.205-07:00I love you for sharing this! I'd like to say y...I love you for sharing this! I'd like to say you have no idea how difficult it is to find just this precise piece of information on git, but I suspect you do know what it's like and that's the reason you're 'saving lives' of others by sharing it. (Sorry for the rumble, I'm just very grateful!)Chocohttps://www.blogger.com/profile/02764410536831958135noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-14550331818538540262011-05-25T19:47:20.031-07:002011-05-25T19:47:20.031-07:00Graham, that works like a champ. Thanks!Graham, that works like a champ. Thanks!Don Bransonhttps://www.blogger.com/profile/08699972846989300948noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-13291055555159185052011-05-19T09:29:51.170-07:002011-05-19T09:29:51.170-07:00The way that I make a remote branch out of a local...The way that I make a remote branch out of a local branch and set up tracking at the same time is<br /><br />% git push -u :<br /><br />so for example<br /><br />% git push -u origin mybranch<br /><br />to create "mybranch" on the remote from which the rest of the repository came and name it "mybranch" there as well. The "-u" sets up the tracking. I found this a little while ago at<br /><br />http://stackoverflow.com/questions/1519006/git-how-to-create-remote-branchgrahamnoreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-15186551773650229022011-05-09T12:54:47.720-07:002011-05-09T12:54:47.720-07:00Kevin and Adam, thanks for adding this useful info...Kevin and Adam, thanks for adding this useful info. :)Don Bransonhttps://www.blogger.com/profile/08699972846989300948noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-80448165283113010962011-05-09T12:45:24.631-07:002011-05-09T12:45:24.631-07:00An correction to Kevin's comment above: the fu...An correction to Kevin's comment above: the full command is <br /><br><br />git branch --set-upstream [local-branch] origin/[branch-name]Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-55314942378743769472011-01-04T11:58:51.029-08:002011-01-04T11:58:51.029-08:00Once the local branch is pushed to the remote, exe...Once the local branch is pushed to the remote, execute git --set-upstream [local-branch] origin/[branch-name] to make the local branch track the remote branch.Unknownhttps://www.blogger.com/profile/01660590835361277046noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-14991262336528523762011-01-04T11:54:30.967-08:002011-01-04T11:54:30.967-08:00This comment has been removed by the author.Unknownhttps://www.blogger.com/profile/01660590835361277046noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-69655055417504266082010-10-14T01:06:03.804-07:002010-10-14T01:06:03.804-07:00| Thanks a bunch! This is precious information tha...| Thanks a bunch! This is precious information that I hadn't found anywhere else!<br /><br />+1Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-24750898195984181822010-10-06T16:08:42.978-07:002010-10-06T16:08:42.978-07:00Cool! Thanks for letting me know. :)Cool! Thanks for letting me know. :)Don Bransonhttps://www.blogger.com/profile/08699972846989300948noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-59820689143204281462010-10-05T19:06:50.487-07:002010-10-05T19:06:50.487-07:00Thanks a bunch! This is precious information that ...Thanks a bunch! This is precious information that I hadn't found anywhere else!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-23625687750413827432010-08-16T06:07:21.662-07:002010-08-16T06:07:21.662-07:00You're welcome! Glad it helped.You're welcome! Glad it helped.Don Bransonhttps://www.blogger.com/profile/08699972846989300948noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-23899882887135853502010-08-16T02:41:29.119-07:002010-08-16T02:41:29.119-07:00Thanks! I was struggling and could not understand ...Thanks! I was struggling and could not understand why my branches were always local...Nicolas Raoulhttp://nrw.free.frnoreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-61442976253181373192010-01-05T03:34:58.148-08:002010-01-05T03:34:58.148-08:00You can use the form:
git push origin <branch-...You can use the form:<br /><br />git push origin <branch-name><br /><br />This assumes your remote repo's alias is 'origin', which is pretty typical.<br /><br />This doesn't make the local branch a tracking branch, though, which you'll probably want. There are some good resources that might have the answer for you in this regard here http://www.kernel.org/pub/software/scm/git-core/docs/git-push.html and here http://cheat.errtheblog.com/s/git.Don Bransonhttps://www.blogger.com/profile/08699972846989300948noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-47738335356347439872010-01-05T03:33:29.203-08:002010-01-05T03:33:29.203-08:00This comment has been removed by the author.Don Bransonhttps://www.blogger.com/profile/08699972846989300948noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-66684704712580820702010-01-04T08:29:20.653-08:002010-01-04T08:29:20.653-08:00Hi, thanks for your help. I use
$ git push --all
t...Hi, thanks for your help. I use<br />$ git push --all<br />to make the local branch also created in the remote. But, what command I should use when I just want a particular branches to be pushed ? E.g If I have<br />$ git branch<br />* master<br /> experimental1<br /> experimental2<br /><br />how do I push only experimental1 ? Thanks in advancePrabowo Murtihttps://www.blogger.com/profile/07646874730731215285noreply@blogger.comtag:blogger.com,1999:blog-8321077109444530317.post-51602119370044518532009-12-10T04:17:35.311-08:002009-12-10T04:17:35.311-08:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.com