====== How to use git ====== ===== Get first time from server ===== - Create new folder or use previous folder - Right click -> Click "Git Clone" {{ :howto:git-15.png?300 |}} - Set git repository (for example: http://git.korotkin.co.il/p0001_ak_r1p1.git) and click "clone" {{ :howto:git-clone-remote.png?200 |}} - Write username {{ :howto:git-clone-username.png?200 |}} - Write password {{ :howto:git-clone-password.png?200 |}} - Click close {{ :howto:git-clone-success.png?201 |}} - Enter to folder {{ :howto:git-cloned-new-folder.png |}} - Do your changes ===== Save your changes and send to server ===== - On working folder right click with mouse and click "Git Commit" {{ :howto:git-cloned-commit.png?200 |}} - On the first time ever it can ask you to set your email and name - Click "Yes" {{ :howto:git-precommit-set-email.png?200 |}} - set username and email then click ok {{ :howto:git-precommit-set-email-and-name.png?200 |}} - Set "Commit message" -this is description what you been done on this commit. select the files that you want to commit. click "Commit" {{ :howto:git-docommit.png?200 |}} - That Git will do commit. (Remember: commit is only local. will not reflected on server). {{ :howto:git-commited.png?200 |}} - click "Push" (Push means - send to server) - click "Ok" {{ :howto:git-push.png?200 |}} - Enter username {{ :howto:git-push-un.png |}} - Enter password {{ :howto:git-push-pw.png |}} - Click "close" {{ :howto:git-push-done.png |}} ===== Get changes from server ===== - On working folder right click with mouse and click "Git Sync" {{ :howto:git-15.png |}} - Click "Pull" {{ :howto:git-sync.png |}} - Enter username {{ :howto:git-sync-un.png |}} - Enter password {{ :howto:git-sync-pw.png |}} - Click "close"