You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'm pretty new to git (so excuse my lack of branches and other bad practices), but I've been having a problem that I can't seem to fix. How can I move the commit
BT228 Challenge - Turret Rotation pt1 (v1) to be my latest commit? In other words, so that it appears on top?
Here are some things that I've already tried:
git rebase -i HEAD~3to get to this
BT Using Clamp() to Limit Values - AimingComponent not showing up in Tank_BP(4f861ad) is my latest commit (excluding the merge). So I reorder the commits like this:
Following the guidance from this website.
I’ve also tried making an empty commit and then reordering, so that I don’t copy the commit
BT Using Clamp() to Limit Values - AimingComponent not showing up in Tank_BP over and over again.But this happens:
One reason I was thinking this is acting strangely is that you usually rebase from one branch onto your master branch. So I’ve also tried putting my
BT228 Challange... commit onto a
feature/TurretRotation branch and then rebasing, but in that case the commit doesn’t even show up.
git rebase master(no need for interactive stuff this time)
The solution I found was jumping off of Test #1 and then using these commands.
Then I forced pushed:
git push origin master --force
And this was the result: