git - Github undoing merge -
i don't know happened reason when try use github again error saying i'm trying merge something. want undo whole thing:
e325: attention found swap file name ".git/.merge_msg.swp" owned by: mauriciosanchezduque dated: tue may 21 22:18:59 2013 file name: ~mauriciosanchezduque/.git/merge_msg modified: yes user name: mauriciosanchezduque host name: mauricios-macbook-pro.local process id: 4738 while opening file ".git/merge_msg" dated: tue may 21 22:27:11 2013 newer swap file! i trying pull new repository , insert files start working on terminal came message. suggestions?
i did git stash , seemed work! think messed github because when able pull repository trying use put on user folder. think git trying push computer github. think @ point did git push -a in wrong folder , pushed bunch of folders , files. when git status shows bunch of untracked stuff in computer deleted folders. idea of how take here? get:
# untracked files: # (use "git add <file>..." include in committed) # # .trash/ # .dropbox/ # .openmdao/ # documents/arduino/ # documents/openmdao/ # documents/github/ # documents/mysite/ # documents/openframeworks/ # dropbox/ # library/ # music/ no changes added commit (use "git add" and/or "git commit -a")
to abort screwed merge, need use rather unintuitive
git reset --merge most other commands git rebase, git am use --abort switch easier remember. but, git merge somehow not support --abort.
Comments
Post a Comment