Not logged inOpenClonk Forum
Up Topic General / Help and Questions / Pulling repos
- - By Win [de] Date 2015-07-14 19:32
Can I safely pull from the repos without endangering my edits/new files? Also, I am getting the error "git did not exit cleanly (exit code 128)" when trying to pull.
Parent - By Clonkonaut Date 2015-07-14 19:51
In addition to what I wrote in the clonkspot forum:

> git did not exit cleanly (exit code 128)


This probably indicates a merging problem. If this is everything your client tells you, the client's not very great. However, often there's a much better log file somewhere. But my guess would be a merging problem.
Reply
Parent - By Maikel Date 2015-07-14 21:30
New files are not endangered by pulling, fetching, rebasing, merging, etc. However edits are, there you need to commit them first or stash them before pulling. My workflow on linux (command line is):

git status (tells me I am on master and have some open edits)
git stash (stash the edits for a short time)
git pull --rebase origin master (get the newest changes and rebase my local commits on top of those, this is better than merging)
git stash pop (reapply the edits from the previous git stash command)

I found it very helpful to take two hours and read parts of the git book and note down the most useful commands for me (now I know them by heart).
Up Topic General / Help and Questions / Pulling repos

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill