Skip to content

Instantly share code, notes, and snippets.

@anilex
Forked from rlivsey/gist:121430
Created September 15, 2011 20:37
Show Gist options
  • Save anilex/1220397 to your computer and use it in GitHub Desktop.
Save anilex/1220397 to your computer and use it in GitHub Desktop.
~/Sites/fortaleza[master]$ git checkout vcgames-list-all-games-page
error: Untracked working tree file 'public/flash/games/vcgames/PinBall/PinBallLogo.swf' would be overwritten by merge.
~/Sites/fortaleza[master]$ rm public/flash/games/vcgames/PinBall/PinBallLogo.swf
~/Sites/fortaleza[master*]$ git checkout vcgames-list-all-games-page
Switched to branch 'vcgames-list-all-games-page'
~/Sites/fortaleza[vcgames-list-all-games-page]$ git rebase master
First, rewinding head to replay your work on top of it...
error: Untracked working tree file 'public/flash/games/vcgames/PinBall/PinballLogo.swf' would be overwritten by merge.
could not detach HEAD
~/Sites/fortaleza[vcgames-list-all-games-page]$ mv public/flash/games/vcgames/PinBall/PinBallLogo.swf public/flash/games/vcgames/PinBall/PinballLogo.swf
~/Sites/fortaleza[vcgames-list-all-games-page*]$ git rebase master
First, rewinding head to replay your work on top of it...
error: Untracked working tree file 'public/flash/games/vcgames/PinBall/PinballLogo.swf' would be overwritten by merge.
could not detach HEAD
~/Sites/fortaleza[vcgames-list-all-games-page*]$ rm public/flash/games/vcgames/PinBall/PinBallLogo.swf
~/Sites/fortaleza[vcgames-list-all-games-page*]$ git rebase master
public/flash/games/vcgames/PinBall/PinBallLogo.swf: needs update
cannot rebase: you have unstaged changes
~/Sites/fortaleza[vcgames-list-all-games-page*]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment