Below are common commands for the GIT repository tool.
Change the directory to the directory you wish the project to be cloned into.
cd /project/location
Use the following command to clone the repository
git clone ssh://username@domain.com:22/repositoryName
This will create a folder called repositoryName in the location
Before a push run a pull to update from the server
git pull
To add files to the local repository
git add .
Check the status of added files
git status
Commit the files locally with a comment
git commit -a -m “Comment Here”
To send to the server
git push
Comments
Leave a comment