To install git on your computer, enter command:
Set user data for Git version metadata with commands:
Set default editor for commit totes etc. in git with command, e.g.:
Install meld and set it as default merge and diff tool for git:
Connect with SSH to the bcserver and create remote Git repository with commands:
Go to your project:
Initialize local Git repository for the project:
Add remote repository to the project:
If you want, create .gitignore file in your project folder with following content:
All changes can be commited to local repository and pushed to remote repository using following commands:
origin is remote repository name, but master is branch mapping (shortened from master:master) from local to remote repository
-u switch will set master branch of local repository as a default for pushing to remote repository, so after that simple git push and git pull can be used.
To get changes from remote repository and push back new changes from local repo enter command:
Openand check that your project has recent content added into it.
Clone project from server in another folder to check it on your computer:
and check project in Eclipse