Understanding the Basics of GitHub: An Introduction for Beginners |
Understanding the Basics of GitHub: An Introduction for Beginners
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
i will have a look at that ; another small learning they added when dispensed with passwords , and then not content with just tokens, they have ( marketing men must have been eating muesli at the time ) "fine grain tokens" , "tokens" and i can see " organic grain tokens " not far down the road lol
I guess a couple of things i find handy , the author omitted. Immediately after a "commit" add a tag for exmaple from a command line : Code: [andrew@darkstar ~]$ git tag -a v.1.4 -m " comment for tag" say you want to go back down the tree and work from some commit; its much easier to do via a tag eg Code: [andrew@darkstar CI4-CMS]$ git checkout v1.4 At that point i got : You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. So at tag v1.4 i started a new branch : Code: [andrew@darkstar CI4-CMS]$ git switch -c myFork a very handy command from a terminal is : Code: gitk --all This is what that command brings up : ![]() its easier visually to see i created a new branch in the tree
@captain-sensible, Thank you for your feedback on this.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |