![]() HEAD is now at 539cfbe All events projects - finish up all pages Turn off this advice by setting config variable tachedHead to false If you want to create a new branch to retain commits you create, you mayĭo so (now or later) by using -c with the switch command. State without impacting any branches by switching back to a branch. You can look around, make experimentalĬhanges and commit them, and you can discard any commits you make in this Note: switching to 'remotes/fsprojects/events-projects-finsih'. I get below error : $ git checkout remotes/fsprojects/events-projects-finsih Now when I checkout to any branch belonging to either remotes origin or fsprojects with below command git checkout remotes/fsprojects/events-projects-finsih ![]() Your branch is up to date with 'fsprojects/project-api-routes'. I now setup this branch to track remote branch with same name located in fsprojects/projects-api-routes using this command - git branch -u fsprojects/project-api-routes I did some new changes in the detached HEAD state and created a new branch project-api-routes from that point. I checked out a commit in remote "origin" so I entered into a detached HEAD state(which is as expected). Project-api-routes pushes to project-api-routes (up to date) ![]() Project-api-routes merges with remote project-api-routes Writing-api-in-same-server-and-leveraging-from-server-and-client tracked $ git remoteĬlient-and-serverside-fetching-useswr trackedĮvents-project-data-fetching-pre-rendering tracked Origin : It points to a repo of a course I am currently learning.įsprojects: It points to my personal repo. What I have done so far : Currently I have two remotes setup : My Goal : Make a successful checkout without detached HEAD error. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |