Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

Switching a commit to a branch

hash.png

I commited after few changes in my files. I can checkout to this commit and see my modifications. Now i want to take this commit to a branch. See this image. I am not in any branch. Now, how can i take this commit under a branch?

 

Thank you.

1 Reply
Highlighted
Community Manager
Message 2 of 2

Re: Switching a commit to a branch

Hi @Rubelsoldier,

 

Thanks for being here! First, you'd need to create the branch. Here is some more information on the topic branch flow: https://guides.github.com/introduction/flow/.

 

I hope this helps!

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!