-
Notifications
You must be signed in to change notification settings - Fork 0
Mini Guide
git clone https://github.com/MegaGlest/megaglest-source.git .; git submodule init; git submodule update
update source:
git rebase
update submodule:
git submodule update // or git submodule update --recursive // need to try what is the difference
git status
^ check status
git add -u
^ adding every removed/moved/renamed file
git add .
^ adding every modified file and also every new one
git reset
^ if you just added a lot of files (git add ...) and it was somehow a mistake
git clean -ndX
^ check what was ignored, (probably some junk or nothing)
git commit -m 'message'
^ locally commit
push origin master
^ push to github
gitg - very simple history viewer
gitk - ^ faster, but not as simple
qgit - ^ good, but based on qt (e.g. on KDE very good)
git gui - something like graphical commit helper
git cola - simmilar ^